DJCL demo page
Encoding and transcoding
Input encoding:
Output encoding:
Hashing
Algorithm:
SHA-256
SHA1
Input encoding:
Output encoding:
HMAC
AES encryption
Key:
IV:
CBC (PKCS#5 padding)
CCM
Tag length:
4
6
8
10
12
14
16
Direction:
encrypt
decrypt
Input encoding:
Output encoding:
RSA encryption and signature
PKCS#1 Private key
(generate one with openssl genrsa)
-----BEGIN RSA PRIVATE KEY----- MIICXAIBAAKBgQDSbCFDl5kOdzPU0WY5hsIgnOE788JjktUu/qqDbtebr6J2Tj5s 4QZsgFMu/QXIdkK/qEFJ3kkdJ3MPrEH8ZPkqq2bOLVAC+pWZ9oMWy3ke1NNbtqPb xGMXIfPD8rfNn4a8vXhoiJuyLn2hSENw14qBCLn7o8NaNvXehP7IWi/QHwIDAQAB AoGAO6O4Hd9G20m/4A7lqWJffTzZvdNOAkjosWQu0gfFhnPWWS++E8AHwRLyALxo OjQCoS3AK36cPG4k94k8Ppwj3odMbRMyTMG70ZB1+mXK2OXShdIyFZ3Oa/9/kBmh CKZT/6bV3Zr8/Ml+KqrCjm8QCntNLPYkHAo2VB+Er4QhTeECQQD4g8oNUWNbvIrK bfT1x9GUPUxe53JYt1D1SJiwL7ApiR6LnoLHw5ApPJUZJxaHngDV8e+WnzY2luLt jbwcOnaPAkEA2MKfk7PtCIiqOq8XqrQI7QUz3momW+rs/9eJ5eMyPTa+laqzsv++ z7KxBHBPUcchX6yMZf4WDLbvRck89rxVcQJACJiudZV6JWM5PdVd4t6dnk4chS/m YbE9qK5xMa8EnfszRkseZQCbzQFeevdCLUDG8J+k1QX+3xaLFQKRHjzbewJAHC3x IPqbLijWOJrasM6G+olanOef5QM9nGUhAEnxFhQv4rU2d2bYH5hTewg+x5rjs9Ry zC+kHjMKGEB5NHp3gQJBAIWCIuTG7lgQjA3DiY+lOWgBH4CQbt1z0sKaQBpTl45C E2g/H3V4oJhpxlosAfqlIV8GKfyar3MLXSD+0/YsdW4= -----END RSA PRIVATE KEY-----
Key details
Modulus
Public exponent
Private exponent
First prime p
Second prime q
d mod p
d mod q
q^-1 mod p
Encryption (OAEP padding)
Hash function
SHA1
SHA-256
encrypt
decrypt
Input encoding
Output encoding
Signature
Input encoding
Output encoding
Hash function
SHA1
SHA-256
PKCS#1v1.5 padding
PSS padding
JWT-RS256 (JSON Web Token)
Action:
sign
check signature
Back to DJS home page