• APIブラウザ
  • 設計思想
Show / Hide Table of Contents
  • ExapisSOP
    • AppWorker
    • ContextEventArgs
    • HostRunner
    • IConfiguration
    • IContext
    • IPipeline
    • IProcess
    • IProcess<TParam, TResult>
    • IService
    • TerminationEventArgs
    • TerminationException
    • TerminationReason
    • UnhandledErrorEventArgs
    • VersionInfo
  • ExapisSOP.Binary
    • DataValue
  • ExapisSOP.Core
    • ConfigurationExtensions
    • ContextExtensions
    • CustomPipelineProcess<TParam, TResult>
    • ImmutablePipeline
    • Pipeline
    • PipelineExtensions
    • PipelineExtensions.ExceptionHandler
    • PipelineExtensions.ExceptionHandler<TParam, TResult>
    • PipelineExtensions.LoggingProcess
    • PipelineExtensions.NextProcessFunc
    • PipelineExtensions.ProcessFunc
    • PipelineExtensions.ProcessFunc<TParam, TResult>
    • PipelineExtensions.ProcessFuncWrapper
    • PipelineExtensions.ProcessFuncWrapper<TParam, TResult>
  • ExapisSOP.Globalization
    • EnglishErrorReportBuilder
    • JapaneseErrorReportBuilder
  • ExapisSOP.IO
    • CachedStream
    • DefaultPath
    • FileSystemServiceOptions
    • FileSystemServiceOptionsExtensions
    • IFileSystemService
    • InvalidPathFormatException
    • IPathList
    • Paths
    • PathString
    • PathStringFormatter
  • ExapisSOP.IO.Logging
    • ConsoleLogger
    • DefaultErrorDetailProvider
    • ErrorReportBuilder
    • ExceptionRecord
    • HResultDetailProvider
    • ICustomErrorDetailProvider
    • ILogFile
    • ILoggable
    • ILogger
    • ILoggingSystemService
    • LogData
    • LogFile
    • LogFileType
    • Logger
    • LoggerExtension
    • LoggingSystemServiceOptions
    • LoggingSystemServiceOptions.CreateLogFile
    • LogLevel
    • LongMessageRecord
    • MultipleLogger
    • OutputStreamLogger
  • ExapisSOP.IO.Settings
    • CustomSettings
    • DataStore
    • DefaultSettings
    • EnvironmentSettings
    • ISettingsSystemService
    • OptimizedSettings
    • SettingsSystemServiceOptions
    • SettingsSystemServiceOptions.ConfirmVersionInfo
    • SettingsSystemServiceOptions.GetVersionInfo
  • ExapisSOP.IO.Settings.CommandLine
    • CommandLineConverter
    • CommandLineParser
    • CommandLineServiceOptions
    • CommandLineServiceOptions.CreateConverterMappingTable
    • FileNameList
    • IArgumentConverter
    • IArgumentConverter<T>
    • ICommandLineService
    • ManualAttribute
    • Option
    • Option.Value
    • OptionAttribute
    • Switch
    • SwitchAttribute
  • ExapisSOP.NativeWrapper
    • INativeCaller
    • WinAPI
  • ExapisSOP.NativeWrapper.Windows
    • Kernel32
  • ExapisSOP.Numerics
    • CryptionRandom
    • IRandom
    • LinearCongruentialGenerator
    • RandomExtension
    • SerializableRandom
    • SystemRandom
    • Xorshift
    • Xorshift2
  • ExapisSOP.Text
    • SimpleEncoding
    • SimpleString
  • ExapisSOP.Utils
    • ArrayExtensions
    • ConsoleUtil
    • DisposableBase
    • IAwaitable<T>
    • IAwaiter<T>
    • IUtilityService
    • SecureStringExtensions
    • SerializationInfoExtensions
    • StringExtensions
    • StringUtil
    • UtilityConfigurationExtensions
    • UtilityContextExtensions

CryptionRandom クラス

System.Security.Cryptography.RandomNumberGeneratorをIRandomにラップします。 このクラスは継承できません。

継承
System.Object
SerializableRandom
CryptionRandom
実装
IRandom
System.Runtime.Serialization.ISerializable
System.IDisposable
継承されたメンバー
SerializableRandom.GetObjectData(SerializationInfo, StreamingContext)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
名前空間: ExapisSOP.Numerics
アセンブリ: ExapisSOP.Utils.dll
構文
[Serializable]
public sealed class CryptionRandom : SerializableRandom, IRandom, ISerializable, IDisposable

コンストラクタ 一覧

| 編集/提案 ソースを表示

CryptionRandom()

型'CryptionRandom'の新しいインスタンスを生成します。

宣言
public CryptionRandom()
| 編集/提案 ソースを表示

CryptionRandom(RandomNumberGenerator)

型'CryptionRandom'の新しいインスタンスを生成します。

宣言
public CryptionRandom(RandomNumberGenerator rng)
引数
型 名前 説明
System.Security.Cryptography.RandomNumberGenerator rng

ラップするSystem.Randomオブジェクトです。

例外
型 条件
System.ArgumentNullException

プロパティ 一覧

| 編集/提案 ソースを表示

CanGetSeed

このクラスはシード値を取得する事ができない為、常にfalseを返します。

宣言
public override bool CanGetSeed { get; protected set; }
プロパティ値
型 説明
System.Boolean
上書き
SerializableRandom.CanGetSeed
| 編集/提案 ソースを表示

IsDisposed

このオブジェクトが破棄されている場合はtrue、有効な場合はfalseを返します。

宣言
public bool IsDisposed { get; }
プロパティ値
型 説明
System.Boolean
| 編集/提案 ソースを表示

Seed

System.InvalidOperationExceptionを発生させます。

宣言
public override long Seed { get; protected set; }
プロパティ値
型 説明
System.Int64
上書き
SerializableRandom.Seed
例外
型 条件
System.InvalidOperationException

メソッド 一覧

| 編集/提案 ソースを表示

Dispose()

現在のオブジェクトインスタンスと利用しているリソースを破棄します。

宣言
public void Dispose()
| 編集/提案 ソースを表示

Finalize()

型'CryptionRandom'の現在のインスタンスを破棄します。

宣言
protected void Finalize()
| 編集/提案 ソースを表示

NextBytes(Int32)

8ビット符号無し整数値を指定された数だけ生成します。

宣言
public override byte[] NextBytes(int count)
引数
型 名前 説明
System.Int32 count

生成する乱数値の個数です。

戻り値
型 説明
System.Byte[]

結果の分からない値を返します。

上書き
SerializableRandom.NextBytes(Int32)
例外
型 条件
System.ArgumentOutOfRangeException
System.ObjectDisposedException
| 編集/提案 ソースを表示

NextDouble()

倍精度浮動小数点数値を0~1の範囲で生成します。

宣言
public override double NextDouble()
戻り値
型 説明
System.Double

結果の分からない値を返します。

上書き
SerializableRandom.NextDouble()
例外
型 条件
System.ObjectDisposedException
| 編集/提案 ソースを表示

NextNonZeroBytes(Int32)

0を除く8ビット符号無し整数値を指定された数だけ生成します。

宣言
public byte[] NextNonZeroBytes(int count)
引数
型 名前 説明
System.Int32 count

生成する乱数値の個数です。

戻り値
型 説明
System.Byte[]

結果の分からない値を返します。

例外
型 条件
System.ArgumentOutOfRangeException
System.ObjectDisposedException
| 編集/提案 ソースを表示

NextSInt64()

64ビット符号付き整数値を生成します。

宣言
public override long NextSInt64()
戻り値
型 説明
System.Int64

結果の分からない値を返します。

上書き
SerializableRandom.NextSInt64()
例外
型 条件
System.ObjectDisposedException

実装

IRandom
System.Runtime.Serialization.ISerializable
System.IDisposable

拡張関数 一覧

RandomExtension.NextUInt8(IRandom)
RandomExtension.NextUInt16(IRandom)
RandomExtension.NextUInt32(IRandom)
RandomExtension.NextUInt64(IRandom)
RandomExtension.NextSInt8(IRandom)
RandomExtension.NextSInt16(IRandom)
RandomExtension.NextSInt32(IRandom)
RandomExtension.NextSingle(IRandom)
RandomExtension.NextDecimal(IRandom)
RandomExtension.NextUInt8(IRandom, Byte)
RandomExtension.NextUInt16(IRandom, UInt16)
RandomExtension.NextUInt32(IRandom, UInt32)
RandomExtension.NextUInt64(IRandom, UInt64)
RandomExtension.NextSInt8(IRandom, SByte)
RandomExtension.NextSInt16(IRandom, Int16)
RandomExtension.NextSInt32(IRandom, Int32)
RandomExtension.NextSInt64(IRandom, Int64)
RandomExtension.NextSingle(IRandom, Single)
RandomExtension.NextDouble(IRandom, Double)
RandomExtension.NextDecimal(IRandom, Decimal)
RandomExtension.NextUInt8(IRandom, Byte, Byte)
RandomExtension.NextUInt16(IRandom, UInt16, UInt16)
RandomExtension.NextUInt32(IRandom, UInt32, UInt32)
RandomExtension.NextUInt64(IRandom, UInt64, UInt64)
RandomExtension.NextSInt8(IRandom, SByte, SByte)
RandomExtension.NextSInt16(IRandom, Int16, Int16)
RandomExtension.NextSInt32(IRandom, Int32, Int32)
RandomExtension.NextSInt64(IRandom, Int64, Int64)
RandomExtension.NextSingle(IRandom, Single, Single)
RandomExtension.NextDouble(IRandom, Double, Double)
RandomExtension.NextDecimal(IRandom, Decimal, Decimal)
  • 編集/提案
  • ソースを表示
Back to top Generated by DocFX