# \#public\_key

**URL:** https://erlangforums.com/tag/719-tag/719.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Ed25519 private key from seed](https://erlangforums.com/t/ed25519-private-key-from-seed/5244)

<div class="topic-metadata">

**Author:** [@parsa](https://erlangforums.com/u/parsa)\
**Replies:** 3\
**Last updated:** [November 25, 2025, 1:36am UTC](https://erlangforums.com/t/ed25519-private-key-from-seed/5244 "2025-11-25T01:36:06Z")

</div>

can i generate ed25519 keypair from seed using crypto app or public\_key?

---

## [Is there a replacement for the deprecated public\_key:encrypt\_public?](https://erlangforums.com/t/is-there-a-replacement-for-the-deprecated-public-key-encrypt-public/4163)

<div class="topic-metadata">

**Author:** [@juhlig](https://erlangforums.com/u/juhlig)\
**Replies:** 3\
**Last updated:** [November 6, 2024, 3:20pm UTC](https://erlangforums.com/t/is-there-a-replacement-for-the-deprecated-public-key-encrypt-public/4163 "2024-11-06T15:20:14Z")

</div>

I have an older application that uses public\_key:encrypt\_public/4, like so: public\_key:encrypt\_public(Msg, RsaPubKey, \[{rsa\_pad, RsaPadding}\]) RsaPadding may be either rsa\_pkcs1\_padding or rsa\_pkcs1\_oaep\_padding, depen…

---

## [How to verify ES256 JWTs (JSON Web Tokens)](https://erlangforums.com/t/how-to-verify-es256-jwts-json-web-tokens/4059)

<div class="topic-metadata">

**Author:** [@KayEss](https://erlangforums.com/u/KayEss)\
**Replies:** 2\
**Last updated:** [October 10, 2024, 12:47am UTC](https://erlangforums.com/t/how-to-verify-es256-jwts-json-web-tokens/4059 "2024-10-10T00:47:07Z")

</div>

(I’m doing this from Elixir, but I don’t think that makes any real difference to the use of the Erlang libraries) I’ve got a JWT: eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6IllkWVRDTEF4R0tXUmVWcmF1cVR6VmVwTlM2SHViM0NP…

---

## [PEM Certificate ASN.1 Issue: exception error: no match of right hand side value](https://erlangforums.com/t/pem-certificate-asn-1-issue-exception-error-no-match-of-right-hand-side-value/3776)

<div class="topic-metadata">

**Author:** [@DanielSchutte](https://erlangforums.com/u/DanielSchutte)\
**Replies:** 6\
**Last updated:** [June 23, 2024, 5:11pm UTC](https://erlangforums.com/t/pem-certificate-asn-1-issue-exception-error-no-match-of-right-hand-side-value/3776 "2024-06-23T17:11:10Z")

</div>

Good afternoon, I hope someone can assist me. I have a certificate in PEM format that can be validated by various online decoders as well as OpenSSL. (The cert I am testing with is added below) I have seen a similar …

---

## [Public\_key vs crypto - when to use each?](https://erlangforums.com/t/public-key-vs-crypto-when-to-use-each/3099)

<div class="topic-metadata">

**Author:** [@riccardomanfrin](https://erlangforums.com/u/riccardomanfrin)\
**Replies:** 1\
**Last updated:** [December 9, 2023, 8:15pm UTC](https://erlangforums.com/t/public-key-vs-crypto-when-to-use-each/3099 "2023-12-09T20:15:13Z")

</div>

Hi, I have the impression that crypto and public\_key libaries overlap on several functionalities. public\_key offers additional functions to manipulate certificates and a (simplier?) api to derive “pem” “der” encoded …
