bcgit / pc-dart

Pointy Castle - Dart Derived Bouncy Castle APIs
MIT License
237 stars 122 forks source link

SHA3 usage description was fixed #103

Closed YuriiBaryshev closed 3 years ago

YuriiBaryshev commented 3 years ago

Current description of SHA3 calling through Digest factory assuming creation of SHA3 instances in format 'SHA-3/224|256|384|512' that means call final sha3 = Digest("SHA-3/256") should work, but instead it throws exception. The actual calling method should be in format final sha3 = Digest("SHA3-256"), consequently this request fixes this problem.

This line proves this point.

mwcw commented 3 years ago

Thanks!

MW