From 892dbe845c98ff3fad3d682aaed3cd40b3161d4f Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 22 Jun 2022 01:40:55 +0700 Subject: ObsoleteAttribute cleanup --- crypto/src/security/SecureRandom.cs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'crypto/src/security') diff --git a/crypto/src/security/SecureRandom.cs b/crypto/src/security/SecureRandom.cs index 3abcc8316..4a16a6c4d 100644 --- a/crypto/src/security/SecureRandom.cs +++ b/crypto/src/security/SecureRandom.cs @@ -119,16 +119,6 @@ namespace Org.BouncyCastle.Security { } - /// - /// To replicate existing predictable output, replace with GetInstance("SHA1PRNG", false), followed by SetSeed(seed) - /// - [Obsolete("Use GetInstance/SetSeed instead")] - public SecureRandom(byte[] seed) - : this(CreatePrng("SHA1", false)) - { - SetSeed(seed); - } - /// Use the specified instance of IRandomGenerator as random source. /// /// This constructor performs no seeding of either the IRandomGenerator or the -- cgit 1.5.1