Skip to content

Commit a846a51

Browse files
authored
Update 2020-08-20-torchcsprng-release-blog.md
1 parent 34442c2 commit a846a51

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

_posts/2020-08-20-torchcsprng-release-blog.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: blog_detail
3-
title: 'PyTorch framework for crypto secure random number generation, torchcsprng, now available'
3+
title: 'PyTorch framework for cryptographically secure random number generation, torchcsprng, now available'
44
author: Team PyTorch
55
---
66

@@ -36,8 +36,10 @@ pip:
3636

3737
**Step 2: import packages as usual but add csprng**
3838

39-
`import torch`
40-
`import torchcsprng as csprng`
39+
```python
40+
import torch
41+
import torchcsprng as csprng
42+
```
4143

4244
**Step 3: Create a cryptographically secure pseudorandom number generator from /dev/urandom:**
4345

@@ -60,6 +62,7 @@ Another advantage of torchcsprng generators is that they are parallel on CPU unl
6062
The easiest way to get started with torchcsprng is by visiting the [GitHub page](https://github.com/pytorch/csprng) where you can find installation and build instructions, and more how-to examples.
6163

6264
Cheers,
65+
6366
The PyTorch Team
6467

6568

0 commit comments

Comments
 (0)