Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mitchell@wandows-wireless:~/biodrm$ ls
- biodrm.lua cli.lua
- mitchell@wandows-wireless:~/biodrm$ lua cli.lua
- How to use:
- - Encryption: cat somefile | lua cli.lua -e key > enc
- - Decryption: cat enc | lua cli.lua -d key > somefile
- - (Lua) Decrypt and run: cat enc | lua cli.lua -r key
- mitchell@wandows-wireless:~/biodrm$ echo 'This is a test that will be used as an example. The BioDRM library automatically pads text to the appropriate length for the ECB block cipher, along with padding the key to the appropriate length for AES.' | lua cli.lua -e test > enc
- mitchell@wandows-wireless:~/biodrm$ cat enc
- eJwBIAHf/m3na0NwWRfuMAST2quwDpT0uX5IaH8rC/h4BwzxJSZf1z9xwQpuqTBJPij/q7l2/BN1ezz+T5SnE16jWwkYPMlCCgUflXTV/KmCnoDFYFURUx/Ec8roLrKihdxoZ3Z/mOqUERUKfo99RBSMxzU+SseYfTxr3FQzpGFmYwaV0ApjN6VdJ0Tc8FFlZfAK+FhV/16NjG4gcy/nJi8OWJVHlwGPDymZfN/sDhPaX20cU+sO+2nWsvNeVlGzrg324A57jPD3+11Aa/D4bkvkDadzuMUylxglIPm+biPwV4yIAKrPYoZJkAEbMNtG/E9U1wfAD502ZoEGqCI/y/Car1ocmGZx2Qyw7UzzIP6sl55hdhhvtlJsLRmNtX3cVDTq5mwebaZzhrY=
- mitchell@wandows-wireless:~/biodrm$ cat enc | lua cli.lua -d test
- This is a test that will be used as an example. The BioDRM library automatically pads text to the appropriate length for the ECB block cipher, along with padding the key to the appropriate length for AES.
- mitchell@wandows-wireless:~/biodrm$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement