Data Encryption Standard: Difference between revisions

m
→‎{{header|Raku}}: Fix links and code: Perl 6 --> Raku
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (→‎{{header|Raku}}: Fix links and code: Perl 6 --> Raku)
Line 3,017:
This is mainly a translation from the Phix entry, with an additional example on UTF-8. Regarding the many conversions among different number/string formats, small (and hopefully reusable ) helper routines are created to serve the purpose.
Update 20190323: After a bug fixed an example does behave correctly and is now in line with the results from the C, D, Kotlin and Phix entries. By the way it seems ''.comb'' handle "\r\n" inconsistently, why? [https://pastebin.com/d7dBpYkL]
Update 20190325: Thanks to SqrtNegInf for pointing out that the answer is already in the documentation.[https://docs.perl6raku.org/type/Str#routine_chomp], [https://docs.perl6raku.org/language/newline]
{{trans|Phix}}
<lang perl6>#!/usr/bin/envuse perl6v6.d;
use v6.d;
#use experimental :pack;
2,392

edits