diff --git a/Src/Autarkysoft.Bitcoin/Cryptography/Hashing/Digest256.cs b/Src/Autarkysoft.Bitcoin/Cryptography/Hashing/Digest256.cs
index 044477c..eebfd9a 100644
--- a/Src/Autarkysoft.Bitcoin/Cryptography/Hashing/Digest256.cs
+++ b/Src/Autarkysoft.Bitcoin/Cryptography/Hashing/Digest256.cs
@@ -30,7 +30,7 @@ public Digest256(uint u)
///
///
/// Byte array to use
- public Digest256(Span ba32)
+ public Digest256(ReadOnlySpan ba32)
{
if (ba32 == null)
throw new ArgumentNullException(nameof(ba32));
@@ -70,7 +70,7 @@ public unsafe Digest256(uint* hPt)
///
///
/// UInt32 array
- public Digest256(Span u8)
+ public Digest256(ReadOnlySpan u8)
{
if (u8 == null)
throw new ArgumentNullException(nameof(u8));