Luzifer / go-openssl

go-openssl is a small library wrapping the crypto/aes functions in a way the output is compatible to OpenSSL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add possibility of using non base64 encoded data

mcgillowen opened this issue · comments

The openssl command line tool allows to choose if the encoded data should be base64 encoded or if the data to decrypt is in base64 encoding.

I believe we should have an option to use this library without having to encode or decode the data with base64 encoding.

If nobody has any objections I would like to work on this and then submit a PR.

I like the suggestion! When adding this please add tests against the OpenSSL CLI and if possible ensure backwards-compatibility in order not to break implementations based on this library.