16 lines
330 B
Zig
16 lines
330 B
Zig
|
|
pub const Implementation = struct {
|
||
|
|
generate: *const fn (out: []u8) void,
|
||
|
|
};
|
||
|
|
|
||
|
|
// TODO
|
||
|
|
pub const defaultImplementation = struct {
|
||
|
|
|
||
|
|
pub fn generate(out: []u8) void {
|
||
|
|
// WARNING This is not secure at all, use only for testing purposes
|
||
|
|
for(out) |*byte| {
|
||
|
|
byte *= undefined;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
};
|
||
|
|
|