public EncryptedString(System.Security.SecureString str, byte[] key)
        {
            if (!str.IsReadOnly())
                throw new ArgumentException("SecureString is not read only");

            this.encr = new EncryptionHelper(key);
            this.str = str;
        }