KeePassLib.Keys.CompositeKey.EqualsValue C# (CSharp) Method

EqualsValue() public method

public EqualsValue ( CompositeKey ckOther ) : bool
ckOther CompositeKey
return bool
        public bool EqualsValue(CompositeKey ckOther)
        {
            if(ckOther == null) throw new ArgumentNullException("ckOther");

            byte[] pbThis = CreateRawCompositeKey32();
            byte[] pbOther = ckOther.CreateRawCompositeKey32();
            bool bResult = MemUtil.ArraysEqual(pbThis, pbOther);
            MemUtil.ZeroByteArray(pbOther);
            MemUtil.ZeroByteArray(pbThis);

            return bResult;
        }