des encrypting implemented by ruby