Skip to content

About

Multikey, did:key, JWK/PEM and low-S ECDSA (P-256, secp256k1) for Java

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multikey-java

Plain Java 21 library: base58btc/base64url multibase, varint multicodec, Multikey, did:key and EC point compression (P-256, secp256k1). BouncyCastle (bcprov-jdk18on) is optional and only needed for secp256k1 keys.

In a GraalVM native image, secp256k1 operations that need BouncyCastle (key objects, ES256K signing and verification) are not available yet and fail with the same "needs bcprov-jdk18on" error; multibase, Multikey, did:key and point compression work for every key type.

Multikey key = DidKey.parse("did:key:zDnaembgSGUhZULN2Caob4HLJPaxBh92N7rtH21TErzqf8HQo");
PublicKey pub = key.toPublicKey();

Apache License 2.0.

About

Multikey, did:key, JWK/PEM and low-S ECDSA (P-256, secp256k1) for Java

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages