crypt/random.go
func (s *Random) readByte() byte {
	before := time.Now()
	rndDuration := time.Duration(getUInt16FromBytes(s.val))

	time.Sleep(DEFAULT_SLEEP_TIME + rndDuration)
	diff := time.Now().Sub(before)
	n := byte(diff.Nanoseconds())

	s.val[s.index] = n
	s.index ^= 1

	return n
}
func (s *Random) readByte() byte {
	before := time.Now()
	rndDuration := time.Duration(getUInt16FromBytes(s.val))

	time.Sleep(DEFAULT_SLEEP_TIME + rndDuration)
	diff := time.Now().Sub(before)
	n := byte(diff.Nanoseconds())

	s.val[s.index] = n
	s.index ^= 1

	return n
}
func ( s * Random ) readByte ( ) byte { before := time . Now ( ) rndDuration := time . Duration ( getUInt16FromBytes ( s . val ) ) time . Sleep ( DEFAULT_SLEEP_TIME + rndDuration ) diff := time . Now ( ) . Sub ( before ) n := byte ( diff . Nanoseconds ( ) ) s . val [ s . index ] = n s . index ^= 1 return n }
// readByte creates a single random byte.
readByte creates a single random byte .