1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 using System;
6 using System.Diagnostics;
7 using System.Security.Cryptography;
8 
9 namespace Internal.Cryptography
10 {
11     internal static class Helpers
12     {
CloneByteArray(this byte[] src)13         public static byte[] CloneByteArray(this byte[] src)
14         {
15             if (src == null)
16             {
17                 return null;
18             }
19 
20             return (byte[])(src.Clone());
21         }
22     }
23 }
24 
25