Using Elliptic Curve keys for signing in Erlang
How do I sign (and verify) things in Erlang, using an ECDSA key?
How do I sign (and verify) things in Erlang, using an ECDSA key?
How do I encrypt (and decrypt) things in Erlang, using an RSA key?
In an earlier post, I showed how to encrypt a JSON Web Token in Erlang. I used plain-ol’ Erlang. Here’s how to use the jose package to do the same thing.
Following on from signing a web token in Erlang, here’s how to encrypt one.
In an earlier post, I showed how to sign a JSON Web Token in Erlang. I used plain-ol’ Erlang. Here’s how to use the jose package to do the same thing.
About 8 years ago, I wrote a post about verifying JSON Web Tokens (JWT) in Erlang. 3 years later, I wrote another post about signing a JWT in bash. This is a post combining the two: here’s how you sign a JWT using Erlang.
How do I sign (and verify) things in Erlang, using an RSA key?
The previous post finished up by writing an RSA public key in “wrapped” (PKCS#8) PEM-format. It occurred to me that I should probably show how to do the same with the private key as well.
I’m currently doing something that needs RSA keys, so here are some Erlang snippets showing how to create one.
Erlang/OTP 24.0 added support for ed25519 curves. Here’s some example snippets: