「OpenSSLの暗号方式が非標準でドキュメントにも記載がない」と書かれている場所
OpenSSL uses a salted key derivation algorithm. The salt is a piece of random bytes which are generated when encrypting, and stored in the file header; upon decryption, the salt is retrieved from the header, and the key and IV are recomputed from the provided password and the salt value.
The encryption format used by OpenSSL is non-standard: it is "what OpenSSL does", and if all versions of OpenSSL tend to agree with each other, there is still no reference document which describes this format except OpenSSL source code.
Hence a fixed 16-byte header, beginning with the ASCII encoding of the string "Salted__", followed by the salt itself.
以下はGoogle翻訳。
OpenSSLは、ソルテッドキー派生アルゴリズムを使用します。 ソルトは、暗号化時に生成され、ファイルヘッダーに格納されるランダムバイトの断片です。 復号化すると、ソルトがヘッダーから取得され、指定されたパスワードとソルト値からキーとIVが再計算されます。
OpenSSLで使用される暗号化形式は非標準です。「OpenSSLが行うこと」であり、OpenSSLのすべてのバージョンが互いに一致する傾向がある場合、OpenSSLソースコードを除き、この形式を説明するリファレンスドキュメントはまだありません。
したがって、文字列 "Salted__"のASCIIエンコーディングで始まり、その後にソルト自体が続く固定16バイトヘッダー。