ServiceStack.AesUtils.CreateKeyAndIv C# (CSharp) 메소드

CreateKeyAndIv() 공개 정적인 메소드

public static CreateKeyAndIv ( byte &cryptKey, byte &iv ) : void
cryptKey byte
iv byte
리턴 void
        public static void CreateKeyAndIv(out byte[] cryptKey, out byte[] iv)
        {
            using (var aes = CreateSymmetricAlgorithm())
            {
                cryptKey = aes.Key;
                iv = aes.IV;
            }
        }