easy-encryption
easy-encryption copied to clipboard
A very simple C++ module to encrypt/decrypt strings based on B64 and Vigenere ciper.
The encode function works fine for English as far as I have tested. But it breaks for other Languages. For example, I used the encode function to encode a string...
hi i send encrypt string to php My question is how can I decrypt it on the php
hello. in wrong key return bad string none utf-8. how to handle this ??
Hello! What about support for entire files?!! I need that, by the way the idea to combine base64 + a generated key is awesome! Well done! I tried to adapt...
simple test case: auto str_en = encrypt("很好", "123"); auto str = decrypt(str_en, "123"); + str_en "k5mWno==" + str "观好" some minor issues i've found are: 1. should add "const" to...
I want use it to encrypt some low confidentiality string,and use the key like zise_some_thing_happen. But the encryt_string is a bit long It decrypt some charact worry(part of my data)....
It isn't good to fill glogal namespace, so it is better to put all function in naespace like `easy_encryption`. Also, it is very important to protect headers with include guards...
A lot has been changed, as you can see. Namespaces and other improvements have been implemented. I don't know what else to say, but otherwise you can check it out...