NAME

Blockchain::Ethereum::Keystore::Key::PKUtil

VERSION

version 0.006

OVERVIEW

This is a child for Crypt::Perl::ECDSA::PrivateKey to overwrite the function _sign that on the parent module returns only $r and $s, this version returns the $y_parity as well, what simplifies signing the transaction.

You don't want to use this directly, use instead Blockchain::Ethereum::Keystore::Key

METHODS

_sign

Overwrites Crypt::Perl::ECDSA::PrivateKey adding the y-parity to the response

  • message - Message to be signed

Crypt::Perl::BigInt r, Crypt::Perl::BigInt s, uint y_parity

AUTHOR

Reginaldo Costa <refeco@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023 by REFECO.

This is free software, licensed under:

The MIT (X11) License