Files
tinygo/src/machine/machine_nrf_bare.go
T

10 lines
297 B
Go

//go:build nrf && !softdevice
package machine
// GetRNG returns 32 bits of non-deterministic random data based on internal thermal noise.
// According to Nordic's documentation, the random output is suitable for cryptographic purposes.
func GetRNG() (ret uint32, err error) {
return getRNG()
}