Security.Cryptography.Random API inventory
Provides operating-system-backed cryptographic random number generation as a narrow separately selectable component.
Ownership and selection
| Fact | Pinned value |
|---|---|
| Physical owner | modules/security-cryptography-random |
| CMake target | SharpRuntime::Security.Cryptography.Random |
| Component kind | static |
| Direct production dependencies | Core.Base |
| External dependency | bcrypt on Windows (private) |
| Public headers | 2 |
| Production sources | 1 |
Select the component
set(SHARP_RUNTIME_COMPONENTS Security.Cryptography.Random)
set(SHARP_RUNTIME_BUILD_TESTS OFF CACHE BOOL "" FORCE)
add_subdirectory(sharp-runtime)
target_link_libraries(app PRIVATE SharpRuntime::Security.Cryptography.Random)Compatibility and platform notes
Uses platform entropy facilities, including BCrypt on Windows. This physical component has no dedicated test executable at the pin.
Implementation-status evidence
The owning module has no dedicated C++ test source at this pin. That is evidence about test topology, not a maturity score; behavior may still be exercised transitively or in integration tests.
This page deliberately reports source and test topology instead of a hand-authored Done/Partial maturity badge. Consult limitations and subsystem documentation for material behavioral reductions.
Public header and entry inventory
This complete list is derived from modules/security-cryptography-random/include. Each filename is a public discovery entry; it may declare more than one type, and it does not imply method-level .NET parity.