文件名称:dcrypto:openssl 库中 EVP 加密和解密函数的 D 包装器
文件大小:5KB
文件格式:ZIP
更新时间:2024-07-26 11:06:40
D
dcrypto 概括 包装 openssl 库以启用简单的双向加密。 例子 import dcrypto.evp; // Create an AES key auto key = keyFromSecret( " ZYXWVUTSRQPONMLKJIHGFEDCBA " , " SALT " ); // Create an encryptor class based on the key. auto encryptor = new EVPEncryptor(key); // An encryptor class can be used to encrypt more than one string. auto encrypted = encryptor.encrypt( " This is a decrypted string " ); auto encrypted2 = encrypt
【文件预览】:
dcrypto-master
----source()
--------dcrypto()
----dub.json(278B)
----LICENSE(1KB)
----README.md(2KB)
----.gitignore(61B)