Closed blanu closed 10 years ago
How do you convert a ByteString to a Key256? Since the Key256 constructor is not exported from its module, I can't figure out how to construct a Key256 outside of the module.
You can use the toBlock function (doc); not exporting the constructor ensures that people don't accidentally create keys of the wrong size.
toBlock
Okay thanks!
How do you convert a ByteString to a Key256? Since the Key256 constructor is not exported from its module, I can't figure out how to construct a Key256 outside of the module.