News for hackers. Stuff that matters.
Re:Chinese Infinite Magical Hard-Drive by ake111 on Friday April 08, 2011 @03:26AM (#2422838)
It's really much simpler than that:

  cd
  head --bytes=your_card_size /dev/random > tmp
  sha1sum tmp
  cp tmp /media/your_card
  sha1sum /media/your_card/tmp
Re:Chinese Infinite Magical Hard-Drive by JonnieCache on Friday April 08, 2011 @05:52AM (#2423101)
Never considered using head to get a bytestream from /dev/random. I've always used dd. Thanks for the tip!
Re:Chinese Infinite Magical Hard-Drive by eru on Sunday April 10, 2011 @01:33PM (#2429925)
If you are on linux, use /dev/urandom.