public class SecureRandomLibrary
extends java.lang.Object
| Constructor and Description |
|---|
SecureRandomLibrary() |
| Modifier and Type | Method and Description |
|---|---|
static IRubyObject |
hex(ThreadContext context,
IRubyObject self) |
static IRubyObject |
hex(ThreadContext context,
IRubyObject self,
IRubyObject n) |
private static byte[] |
nextBytes(ThreadContext context,
int size) |
private static byte[] |
nextBytes(ThreadContext context,
IRubyObject n) |
static IRubyObject |
random_bytes(ThreadContext context,
IRubyObject self) |
static IRubyObject |
random_bytes(ThreadContext context,
IRubyObject self,
IRubyObject n) |
static IRubyObject |
uuid(ThreadContext context,
IRubyObject self) |
public static IRubyObject random_bytes(ThreadContext context, IRubyObject self)
public static IRubyObject random_bytes(ThreadContext context, IRubyObject self, IRubyObject n)
public static IRubyObject hex(ThreadContext context, IRubyObject self)
public static IRubyObject hex(ThreadContext context, IRubyObject self, IRubyObject n)
public static IRubyObject uuid(ThreadContext context, IRubyObject self)
private static byte[] nextBytes(ThreadContext context, IRubyObject n)
private static byte[] nextBytes(ThreadContext context, int size)