Hi, Qiuying



I sometime use OpenSSL to encrypt and decrypt files (two-step verification 
recover code) using AES-256-CBC symmetric cipher (not sure if Hannes and David 
think it’s a good idea…).




For example,




encrypt file:




$ openssl aes-256-cbc -in recover-code.txt -out recover-code.dat




decrypt file:

$ openssl aes-256-cbc -d -in recover-code.dat -out recover-code.txt




Nocrypto of course implemented AES cipher [1] so you may give a try.




[1]: https://github.com/mirleft/ocaml-nocrypto/blob/master/src/nocrypto.mli#L342





Thanks,




Runhang




---
Runhang Li
University of California, Los Angeles

On Tue, Jul 14, 2015 at 4:40 PM, Qiuying (Giulia) Lai <[email protected]>
wrote:

>  
> Hello everyone, 
> I am currently looking to write OCaml versions of OpenSSL cmdline tools
> (using our nocrypto, x509 and tls libraries), and would love some advice
> on what would be most helpful to have/prioritize. 
> Any suggestions? 
> Many thanks! 
> Qiuying 
>  
_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

Reply via email to