OpenWebNet password: Difference between revisions
Content added Content deleted
SqrtNegInf (talk | contribs) m (→{{header|Perl}}: Fix link: Perl 6 --> Raku) |
Thundergnat (talk | contribs) m (Fix Perl 6 -> Raku in comments) |
||
Line 890: | Line 890: | ||
=={{header|Raku}}== |
=={{header|Raku}}== |
||
(formerly Perl 6) |
(formerly Perl 6) |
||
Raku doesn't really have good support for unsigned fixed bit integers yet so emulating them with regular Ints and bitmasks. |
|||
<lang perl6>sub own-password (Int $password, Int $nonce) { |
<lang perl6>sub own-password (Int $password, Int $nonce) { |
||
my int $n1 = 0; |
my int $n1 = 0; |