Rewrite of CipherShed (Unofficial)