aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/doc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/doc')
-rw-r--r--lib/crypto/doc/src/crypto.xml35
1 files changed, 21 insertions, 14 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml
index 30835a8447..552d95d7dc 100644
--- a/lib/crypto/doc/src/crypto.xml
+++ b/lib/crypto/doc/src/crypto.xml
@@ -732,14 +732,17 @@
<func>
<name>rand_seed() -> rand:state()</name>
- <fsummary>Strong random number generation plugin state</fsummary>>
- <desc>
- Creates state object for <seealso marker="stdlib:rand">random number generation</seealso>,
- in order to generate cryptographically strong random numbers
- (based on OpenSSL's <c>BN_rand_range</c>),
- and saves it on process dictionary before returning it as well.
- See also <seealso marker="stdlib:rand#seed-1">rand:seed/1</seealso>
-
+ <fsummary>Strong random number generation plugin state</fsummary>
+ <desc>
+ <p>
+ Creates state object for
+ <seealso marker="stdlib:rand">random number generation</seealso>,
+ in order to generate cryptographically strong random numbers
+ (based on OpenSSL's <c>BN_rand_range</c>),
+ and saves it on process dictionary before returning it as well.
+ See also
+ <seealso marker="stdlib:rand#seed-1">rand:seed/1</seealso>.
+ </p>
<p><em>Example</em></p>
<pre>
_ = crypto:rand_seed(),
@@ -750,12 +753,16 @@ _FloatValue = rand:uniform(). % [0.0; 1.0[</pre>
<func>
<name>rand_seed_s() -> rand:state()</name>
- <fsummary>Strong random number generation plugin state</fsummary>>
- <desc>
- Creates state object for <seealso marker="stdlib:rand">random number generation</seealso>,
- in order to generate cryptographically strongly random numbers
- (based on OpenSSL's <c>BN_rand_range</c>).
- See also <seealso marker="stdlib:rand#seed_s-1">rand:seed_s/1</seealso>
+ <fsummary>Strong random number generation plugin state</fsummary>
+ <desc>
+ <p>
+ Creates state object for
+ <seealso marker="stdlib:rand">random number generation</seealso>,
+ in order to generate cryptographically strongly random numbers
+ (based on OpenSSL's <c>BN_rand_range</c>).
+ See also
+ <seealso marker="stdlib:rand#seed_s-1">rand:seed_s/1</seealso>.
+ </p>
</desc>
</func>