Skip to content

Instantly share code, notes, and snippets.

@jtgasper3
Created March 9, 2016 21:21
Show Gist options
  • Save jtgasper3/7d8589ab936416ac0295 to your computer and use it in GitHub Desktop.
Save jtgasper3/7d8589ab936416ac0295 to your computer and use it in GitHub Desktop.
CAS encryption keys.md
<https://github.com/mitreid-connect/json-web-key-generator>
encryption key:
``` java -jar json-web-key-generator-0.3-SNAPSHOT-jar-with-dependencies.jar -t oct -s 256```:
```
Full key:
{
"kty": "oct",
"k": "j9i-2hg3c6l1HFKKv2YY_fXmixKclR5penIJty5aWDk"
}
```
signing key:
```java -jar json-web-key-generator-0.3-SNAPSHOT-jar-with-dependencies.jar -t oct -s 512```
```
Full key:
{
"kty": "oct",
"k": "hIVzqUZTbKIAUd5emip-RiItiznL6D8o_YoVxJ2bAPn5rx97sTWsRv1jmonRIAAw0nFt5t4fZPbnCR-v_sXiDQ"
}
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment