Perfect-Crypto icon indicating copy to clipboard operation
Perfect-Crypto copied to clipboard

Cryptographic Operations

Results 7 Perfect-Crypto issues
Sort by recently updated
recently updated
newest added

``` PerfectCrypto/Keys.swift:61:16: error: cannot find 'EVP_PKEY_base_id' in scope let typeId = EVP_PKEY_base_id(pkey) ``` ``` libssl-dev is already the newest version (3.0.2-0ubuntu1.2). openssl is already the newest version (3.0.2-0ubuntu1.2) ```

this is mycode(in my project): func testCipherString() { let str = "123456" let password = "45678" let salt = "7891" let result = str.encrypt(Cipher.aes_256_cbc, password: password, salt: salt) print("result=\(result!)") guard...

hi there accidentally found this leak, consider to merge please

The `openssl` command requires the use of `dgst -` syntax for its more recent digest algorithms. Also, the `whirlpool` algorithm isn't available on macOS before 10.13 (when they switched to...

JWT base64url requires padding '=' chars to be stripped, but some other uses need the '=' to be preserved. An encoding should be added which leaves the = intact, replacing...

OpenSSL is much more prone to vulnerabilities than LibreSSL. Perhaps we can switch to that instead of using an embedded version of OpenSSL? Vapor and Zewo are all using LibreSSL...

I’d love to see support for PKCS#7/Cryptographic Message Syntax added to Perfect-Crypto. It would allow for things like signed/encrypted iOS profiles to be delivered by a Perfect-based REST endpoint. (https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/iPhoneOTAConfiguration/profile-service/profile-service.html#//apple_ref/doc/uid/TP40009505-CH2-SW37)....