bro29
15 days ago  Karma: 54
What encryption method does transactions on a Loom sidechain use?

An Ethereum mainnet uses the "Elliptic Curve Digital Signature Algorithm" (ECDSA) method to create signtures, which uses a 32-byte private key.

Looking at the loom-js library, the private keys that it uses, as well as the "sign a message" function it uses seem to be calling the tweetnacl package under-the-hood. That library also uses 32-byte private keys, but from their documentation, uses the Ed25519 method to create the signatures. That's an "Edwards-curve Digital Signature Algorithm" (EdDSA), which uses the same Elliptic Curve as ECDSA, but does different math with it.

So, does that mean that even transactions are signed using EdDSA and not ECDSA on a Loom sidechain?

en
private key
Loom dAppchains
bro29
15 days ago  Karma: 54
What encryption method does transactions on a Loom sidechain use?

An Ethereum mainnet uses the "Elliptic Curve Digital Signature Algorithm" (ECDSA) method to create signtures, which uses a 32-byte private key.

Looking at the loom-js library, the private keys that it uses, as well as the "sign a message" function it uses seem to be calling the tweetnacl package under-the-hood. That library also uses 32-byte private keys, but from their documentation, uses the Ed25519 method to create the signatures. That's an "Edwards-curve Digital Signature Algorithm" (EdDSA), which uses the same Elliptic Curve as ECDSA, but does different math with it.

So, does that mean that even transactions are signed using EdDSA and not ECDSA on a Loom sidechain?

en
private key
Loom dAppchains

Earn tokens by posting and answering questions about blockchain!
Karma to eth
BE THE FIRST TO ANSWER