Top "Secret-key" questions

A secret key is a piece of data that is known by a limited number of users / programs and that participates in protecting information (or access to the information).

How to generate secret key in Java once and use that key in 2 different programs

My aim is to write a Java program to encrypt a text file (cipher text) using AES algorithm. And then, …

java cryptography aes secret-key
Why use an API key and secret?

I came across many APIs that give the user both an API key and a secret. But my question is: …

api security authentication api-key secret-key
Best practices for server-side handling of JWT tokens

(spawned from this thread since this is really a question of its own and not specific to NodeJS etc) I'm …

security authentication token jwt secret-key
Why does my AES encryption throws an InvalidKeyException?

I'm currently working on a function that encrypt/decrypts a specific file with a secret key. I have written three …

java encryption aes secret-key
Java AES: No installed provider supports this key: javax.crypto.spec.SecretKeySpec

I'm trying to set up 128 bit AES encryption, and I'm getting an exception thrown on my Cipher.init: No installed …

java encryption cryptography aes secret-key
Rails Production - How to set Secret Key Base?

So I am trying to get my rails app to deploy in production mode, but I get the error: Missing …

ruby-on-rails deployment production-environment secret-key
PBKDF2WithHmacSHA512 Vs. PBKDF2WithHmacSHA1

I'm working on a Java authentication subsystem that specs the storage of passwords in the DB as PBKDF2-generated hashes, …

java pbkdf2 secret-key javax.crypto
Why is a SecretKeySpec needed when deriving a key from a password in Java?

What is difference between SecretKey vs SecretKeySpec classes in Java? The documentation of SecretKeySpec says: it can be used to …

java cryptography jce secret-key
convert Byte Array to Secret Key

I've been trying to convert a byte array to its original SecretKey, but I've no more ideas left. The most …

java byte secret-key