diff options
Diffstat (limited to 'content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md')
| -rw-r--r-- | content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md b/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md index 8bd8d74..2ec9387 100644 --- a/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md +++ b/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md | |||
| @@ -367,10 +367,10 @@ First we generate some binary sample data with dd. | |||
| 367 | dd if=<(openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero) of=1KB.bin bs=1KB count=1 iflag=fullblock | 367 | dd if=<(openssl enc -aes-256-ctr -pass pass:"$(dd if=/dev/urandom bs=128 count=1 2>/dev/null | base64)" -nosalt < /dev/zero) of=1KB.bin bs=1KB count=1 iflag=fullblock |
| 368 | ``` | 368 | ``` |
| 369 | 369 | ||
| 370 | Our freshly generated 1KB file looks something like this (its full of garbage | ||
| 371 | data as intended). | ||
| 372 | 370 | ||
| 373 |  | 371 |  |
| 372 | Our freshly generated 1KB file looks something like this (its full of | ||
| 373 | garbage data as intended). | ||
| 374 | 374 | ||
| 375 | We create following binary files: | 375 | We create following binary files: |
| 376 | 376 | ||
