This repository was archived by the owner on Nov 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-16
lines changed
Expand file tree Collapse file tree 4 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 1- package wasi : random @ 0.3.0-rc-2025-08-15 ;
1+ package wasi : random @ 0.3.0-rc-2025-09-16 ;
22/// The insecure-seed interface for seeding hash-map DoS resistance.
33///
44/// It is intended to be portable at least between Unix-family platforms and
55/// Windows.
6- @since (version = 0.3.0-rc-2025-08-15 )
6+ @since (version = 0.3.0-rc-2025-09-16 )
77interface insecure-seed {
88 /// Return a 128-bit value that may contain a pseudo-random value.
99 ///
@@ -22,6 +22,6 @@ interface insecure-seed {
2222 /// This will likely be changed to a value import, to prevent it from being
2323 /// called multiple times and potentially used for purposes other than DoS
2424 /// protection.
25- @since (version = 0.3.0-rc-2025-08-15 )
25+ @since (version = 0.3.0-rc-2025-09-16 )
2626 get-insecure-seed : func () -> tuple <u64 , u64 >;
2727}
Original file line number Diff line number Diff line change 1- package wasi : random @ 0.3.0-rc-2025-08-15 ;
1+ package wasi : random @ 0.3.0-rc-2025-09-16 ;
22/// The insecure interface for insecure pseudo-random numbers.
33///
44/// It is intended to be portable at least between Unix-family platforms and
55/// Windows.
6- @since (version = 0.3.0-rc-2025-08-15 )
6+ @since (version = 0.3.0-rc-2025-09-16 )
77interface insecure {
88 /// Return `len` insecure pseudo-random bytes.
99 ///
@@ -13,13 +13,13 @@ interface insecure {
1313 /// There are no requirements on the values of the returned bytes, however
1414 /// implementations are encouraged to return evenly distributed values with
1515 /// a long period.
16- @since (version = 0.3.0-rc-2025-08-15 )
16+ @since (version = 0.3.0-rc-2025-09-16 )
1717 get-insecure-random-bytes : func (len : u64 ) -> list <u8 >;
1818
1919 /// Return an insecure pseudo-random `u64` value.
2020 ///
2121 /// This function returns the same type of pseudo-random data as
2222 /// `get-insecure-random-bytes` , represented as a `u64` .
23- @since (version = 0.3.0-rc-2025-08-15 )
23+ @since (version = 0.3.0-rc-2025-09-16 )
2424 get-insecure-random-u64 : func () -> u64 ;
2525}
Original file line number Diff line number Diff line change 1- package wasi : random @ 0.3.0-rc-2025-08-15 ;
1+ package wasi : random @ 0.3.0-rc-2025-09-16 ;
22/// WASI Random is a random data API.
33///
44/// It is intended to be portable at least between Unix-family platforms and
55/// Windows.
6- @since (version = 0.3.0-rc-2025-08-15 )
6+ @since (version = 0.3.0-rc-2025-09-16 )
77interface random {
88 /// Return `len` cryptographically-secure random or pseudo-random bytes.
99 ///
@@ -17,13 +17,13 @@ interface random {
1717 /// This function must always return fresh data. Deterministic environments
1818 /// must omit this function, rather than implementing it with deterministic
1919 /// data.
20- @since (version = 0.3.0-rc-2025-08-15 )
20+ @since (version = 0.3.0-rc-2025-09-16 )
2121 get-random-bytes : func (len : u64 ) -> list <u8 >;
2222
2323 /// Return a cryptographically-secure random or pseudo-random `u64` value.
2424 ///
2525 /// This function returns the same type of data as `get-random-bytes` ,
2626 /// represented as a `u64` .
27- @since (version = 0.3.0-rc-2025-08-15 )
27+ @since (version = 0.3.0-rc-2025-09-16 )
2828 get-random-u64 : func () -> u64 ;
2929}
Original file line number Diff line number Diff line change 1- package wasi : random @ 0.3.0-rc-2025-08-15 ;
1+ package wasi : random @ 0.3.0-rc-2025-09-16 ;
22
3- @since (version = 0.3.0-rc-2025-08-15 )
3+ @since (version = 0.3.0-rc-2025-09-16 )
44world imports {
5- @since (version = 0.3.0-rc-2025-08-15 )
5+ @since (version = 0.3.0-rc-2025-09-16 )
66 import random ;
77
8- @since (version = 0.3.0-rc-2025-08-15 )
8+ @since (version = 0.3.0-rc-2025-09-16 )
99 import insecure ;
1010
11- @since (version = 0.3.0-rc-2025-08-15 )
11+ @since (version = 0.3.0-rc-2025-09-16 )
1212 import insecure-seed ;
1313}
You can’t perform that action at this time.
0 commit comments