-
Notifications
You must be signed in to change notification settings - Fork 0
Ciphers
Important
With v1.5.0, only ciphers with a GCM/CCM mode can be used to encrypt data, the information below was written with an old version in mind but remains up in order to educate how the format works.
Identification for ciphers uses a branch system with each number representing a branch.
The first number is the cipher that will be used when encrypting/decrypting the data, each subsequent branch is an option that indicates which size or encryption method is used.
All numbers combined form a string that will be passed through to OpenSSL to encrypt/decrypt the data.
All ciphers and options are as of writing from OpenSSL 3.0.9. Lower versions may not have all the ciphers/options and newer versions may have ciphers and options that are not on the list.
ciphers.php contains a list of ciphers/options as well as code that helps to further explain the branch system concept.