Hash.parse constructor
Hash.parse(
- String hash
Implementation
Hash.parse(String hash) : hash = HEX.decode(hash) {
if (hash.length != 2 * length) {
throw ArgumentError('Invalid hash length');
}
}