johanns / sha3

SHA3 for Ruby is a XKCP based native (C) binding to SHA3 (FIPS 202) cryptographic hashing algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error in readme (usage > basics)

thomvil opened this issue · comments

In the section Usage > Basics, the order of the arguments should be switched

### Digest class-methods: ###
SHA3::Digest.hexdigest("Hash me, please", :sha224)
# => "200e7bc18cd613..."

should become

### Digest class-methods: ###
SHA3::Digest.hexdigest(:sha224, "Hash me, please")
# => "200e7bc18cd613..."

Fixed. Thanks for proofing.

Johanns

that was fast :)