Advertisement
Guest User

BioDRM Demonstration

a guest
Mar 13th, 2015
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. mitchell@wandows-wireless:~/biodrm$ ls
  2. biodrm.lua cli.lua
  3. mitchell@wandows-wireless:~/biodrm$ lua cli.lua
  4. How to use:
  5. - Encryption: cat somefile | lua cli.lua -e key > enc
  6. - Decryption: cat enc | lua cli.lua -d key > somefile
  7. - (Lua) Decrypt and run: cat enc | lua cli.lua -r key
  8. 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
  9. mitchell@wandows-wireless:~/biodrm$ cat enc
  10. eJwBIAHf/m3na0NwWRfuMAST2quwDpT0uX5IaH8rC/h4BwzxJSZf1z9xwQpuqTBJPij/q7l2/BN1ezz+T5SnE16jWwkYPMlCCgUflXTV/KmCnoDFYFURUx/Ec8roLrKihdxoZ3Z/mOqUERUKfo99RBSMxzU+SseYfTxr3FQzpGFmYwaV0ApjN6VdJ0Tc8FFlZfAK+FhV/16NjG4gcy/nJi8OWJVHlwGPDymZfN/sDhPaX20cU+sO+2nWsvNeVlGzrg324A57jPD3+11Aa/D4bkvkDadzuMUylxglIPm+biPwV4yIAKrPYoZJkAEbMNtG/E9U1wfAD502ZoEGqCI/y/Car1ocmGZx2Qyw7UzzIP6sl55hdhhvtlJsLRmNtX3cVDTq5mwebaZzhrY=
  11. mitchell@wandows-wireless:~/biodrm$ cat enc | lua cli.lua -d test
  12. 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.
  13.  
  14. mitchell@wandows-wireless:~/biodrm$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement