Ruby implementation of S-DES