forked from TrueCloudLab/frostfs-sdk-go
ea043f4ca3
Remove `signature` and `util/signature` packages. Re-implement their functionality in new `crypto` package. Generalize the approach of digital signature computation and verification by adding `Signer` and `PublicKey` primitives similar to standard `crypto` package. Support already exising in protocol signature schemes. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
11 lines
342 B
Go
11 lines
342 B
Go
/*
|
|
Package neofsecdsa collects ECDSA primitives for NeoFS cryptography.
|
|
|
|
Signer and PublicKey provide corresponding interfaces from neofscrypto package.
|
|
|
|
Package import causes registration of next signature schemes via neofscrypto.RegisterScheme:
|
|
- neofscrypto.ECDSA_SHA512
|
|
- neofscrypto.ECDSA_DETERMINISTIC_SHA256
|
|
|
|
*/
|
|
package neofsecdsa
|