I've been playing with Apple's CryptoKit (their effort to make their old CommonCrypto lib more modern and easy to use via Swift, their programming language).
I'm interested to see how portable it is...
They use boxes, similar to libsodium.
Interestingly they only support AES-GCM and ChaChaPoly for authSym, and a handful of curves for Asym (P-256 & Curve25519 being most notable).
Anyway, I'm just trying to decrypt some test data manually (using OpenSSL or whatever) using the raw outputs I've extracted from the debug code I wrote, and whilst I can encrypt and decrypt in Swift I'd love to test this elsewhere to check portability.
This is AES-GCM-256,
Can anyone help me use OpenSSL on command line to decrypt?
I've been trying
OpenSSL enc aes-gcm-256 -a -d without getting it working (-a for base64, -d for decrypt)...