public override IEnumerable <byte[]> GetFallbackKeyHash() { byte[] getFallBack1() { var magModulus = Utility.StripLeadingZeros(Utility.GetBytes(Modulus)); var magPublicExponent = Utility.StripLeadingZeros(Utility.GetBytes(PublicExponent)); var hash = Utility.HashKeyLengthPrefix( KeyczarConst.KeyHashLength, magModulus, magPublicExponent, Padding.ToBytes(), Digest.ToBytes() ); magModulus.Clear(); magPublicExponent.Clear(); return(hash); } return(new[] { getFallBack1() }); }