public byte[] GetBytes() { using (Store.Unlock()) { var bytes = new byte[Store.Secret.Length]; Buffer.BlockCopy(Store.Secret, 0, bytes, 0, Store.Secret.Length); return(bytes); } }