Securely encrypt and decrypt files via PBE in Java (Jasypt seems insecure)

This post has been MOVED to StackOverflow due to lack of answers on Info Security:

https://stackoverflow.com/questions/60960802/securely-encrypt-and-decrypt-files-via-pbe-in-java-jasypt-seems-insecure

Considered solutions were Jasypt a… Continue reading Securely encrypt and decrypt files via PBE in Java (Jasypt seems insecure)

Establish a symmetric key: KDF based on shared secret and random salt or key wrapping?

I am designing a basic KMS based on a simple HSM, I only have access to: AES256, SHA256, PBKDF2, HMAC (and combinations like AES256-HMAC-SHA256).
The admin and the users of the system have a personal HSM where the keys are stored and it wo… Continue reading Establish a symmetric key: KDF based on shared secret and random salt or key wrapping?