SHA-256: Difference between revisions
→{{header|Perl 6}}: making prototype implicit
m (→{{header|Perl 6}}: renaming function) |
(→{{header|Perl 6}}: making prototype implicit) |
||
Line 16:
sub rotr($n, $b) { $n +> $b +| $n +< (32 - $b) }
multi SHA-256(Str $s) { sha256 Buf.new: $s.ords }
multi SHA-256(Buf $data) {
|