A Perl solution I was able to write in less than 5 minutes:
#!/usr/bin/perl use warnings; use strict; use feature qw{ say }; use MIME::Base64 qw{ decode_base64 }; use List::Util qw{ shuffle }; my $cipher = '[ "6Ly9kZXYudG", "9jb21tZW5", "8vMHNodXZvMC", "aHR0cHM", "0LzFqZTFt" ]'; my @strings = $cipher =~ /"([^"]+)"/g; my $string = ""; until ($string =~ /^[ -~]+$/) { @strings = shuffle(@strings); $string = decode_base64(join "", @strings); } say $string;
Nice
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A Perl solution I was able to write in less than 5 minutes:
Nice