shred�Τ��줳��
������ shred��6��®�����Ƥߤ� �Υ���ȥ�ϡ� ��������Υ᡼���ۤȤ�ɤ��Τޤ޸������Ƥ��ޤä�����ˡ��������ˤդ줺�°פ˼�ȴ����侩����褦�ʵ����ˤ��Ƥ��ޤ��ޤ����� �����shred��Ȥ���Ū�ϡ����� ���Υǥ��������ΤƤ����� ��shred�����ƾõ�� �Ǥ�Ҳ𤷤��褦�����������������ʤΤ�����μ�������뤳�Ȥ�����ˤʤ�ʤ��ä��ΤǤ���������򵡤ˤ⤦������shred��HDD�ξõ�ˤĤ���Ĵ�٤Ƥߤޤ�����
shred�θ��ˤʤä���ʸ
shred��info�����󥯤���Ƥ�����ʸ������ޤ��� (Secure Deletion of Data from Magnetic and Solid-State Memory) ������ʸ���ɤ�Ǥߤ�ȡ�shred�������Ĥ�Υӥåȥѥ�����Dz�pass��ñ¤¹ï¿½ï¿½ß¤ï¿½Ô¤ï¿½ï¿½ï¿½Í³ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Æ¤ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½ï¿½ï¿½
����Ū�˾õ�뤿��ˡ�1��0���ߤ˲��٤�ñ¤¹ï¿½ï¿½ß¤ï¿½ï¿½ï¿½ï¿½Î¤Ç¤ï¿½ï¿½ï¿½ï¿½ï¿½HDD��CD�ʤɤ�)��ʪ���ؤǽñ¤¹ï¿½ï¿½Þ¤ï¿½ï¿½Ç¡ï¿½ï¿½ï¿½ï¿½Ï¡ï¿½1��0��Ϣ³���ƽи����ʤ��褦�� ���󥳡��ǥ��󥰤���Ƥ���(Run Length Limited (RLL))�����pass��0xFF�ò¡¢¶ï¿½ï¿½ï¿½pass�� 0x00��ñ¤¹ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ç¤Ï¥Õ¥ï¿½Ã¥×¤ï¿½ï¿½ï¿½Ê¤ï¿½ï¿½Ó¥Ã¥È¤ï¿½Â¸ï¿½ß¤ï¿½ï¿½ï¿½è¤¦ï¿½Ç¤ï¿½ï¿½ï¿½ �����ǡ�������ʸ�Ǥϡ��ɤ����ä��ӥåȥѥ������ñ¤¹ï¿½ï¿½ï¿½ï¿½RLL�ǥ��󥳡��ɤ��줿ʪ���ؤ���bit��ե�åפ��뤳�Ȥ��Ǥ��뤫��ꥹ�Ȥˤ��Ƥ��ޤ��� �������������HDD�����RLL�����Ψ���ɤ���ʪ�����̤��������̤κ����������������ǽñ¤¹ï¿½ï¿½Þ¤ï¿½Æ¤ï¿½ï¿½ï¿½Î¤Ç¡ï¿½RLL�ò¥¿¡ï¿½ï¿½ï¿½ï¿½Ã¥È¤Ë¤ï¿½ï¿½ï¿½ �ӥåȥѥ��������bit��ե�åפǤ���Ȥϸ¤�ޤ��󡣤������ꡢ������ʥǡ�����ñ¤¹ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ç¡ï¿½ï¿½Ç¡ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ë¤ï¿½ï¿½ï¿½ï¿½Ê¤ï¿½Þ¤ï¿½ï¿½ï¿½
�ޤ����ǽ�ȺǸ�˥������ñ¤¹ï¿½ï¿½ï¿½È¾ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ó¥Ã¥È¥Ñ¥ï¿½ï¿½ï¿½ï¿½ï¿½Î½ñ¤¹ï¿½ï¿½ß½ï¿½ï¿½ï¿½ò¥·¥ï¿½Ã¥Õ¥ë¤¹ï¿½ï¿½È¤ï¿½ï¿½ï¿½Ë¸ï¿½ï¿½Î¥Ç¡ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Â¬ï¿½ï¿½ï¿½Ë¤ï¿½ï¿½ï¿½ï¿½Ê¤ï¿½È¤ï¿½ ������Ƥ��ޤ�����
����¾�λ���ʸ��
DoD 5220.22-M �Ȥ������ʤ�����餷��������˽�ò¤·¤ï¿½ï¿½È¤ï¿½ï¿½ï¿½ï¿½Ãµï¿½Ä¡ï¿½ï¿½ë¤¬ï¿½ï¿½ï¿½ï¿½ï¿½Ä¤ï¿½ï¿½ï¿½ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½ �켡�����õ���Ƹ��Ĥ����Τ� DoD 5220.22-M �Ǥ������λ����˽ñ¤«¤ï¿½Æ¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ï¡ï¿½1. �����ɥ쥹��ǽ�ΰ�ò¤¢¤ï¿½char�����롢2. ��������롢3. �����ñ¤¹ï¿½ï¿½à¡¢ï¿½È¤ï¿½ï¿½ï¿½ï¿½ï¿½Î¤Ç¤ï¿½ï¿½ï¿½ï¿½ï¿½
����������DoD 5220.22-M���פȤ����õ�ġ���Ǥ�õ���˽ñ¤¹ï¿½ï¿½ï¿½Ç¡ï¿½ï¿½ï¿½ï¿½Ï¤Ð¤ï¿½Ð¤ï¿½Ç¡ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ë¤ï¿½ï¿½Î»ï¿½ï¿½ï¿½ï¿½Î¤ï¿½ï¿½È¤ï¿½ï¿½ï¿½Ã¤Æ¤ï¿½ï¿½ï¿½Î¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½
shred�β��μ�����ML��Ǥε���
shred�����������Ū��/dev/urandom�����褦�ˤʤä��Τ�coreutils-6.0����ǡ�5�ϤǤϡ�/dev/urandom��������μ������äƤ��ơ� ����������������ǹԤäƤ��ޤ�������������ˤϡ�ISAAC�Ȥ������Ź���Ū����������르�ꥺ����Ѥ��Ƥ��ޤ�������stdlib��random()��ꤺ�ä� �����Ǥ���
�ɤ������аޤʤΤ���Ƚ��ޤ��󤬡�coreutils-6.0����� ����򤹤٤� /dev/urandom ������äƤ���褦�ˤʤ�ޤ����� ����Ƿ�Ū���٤��ʤä��ΤǤ�����ML�ǡ�5pass�Ǽ¹Ԥ�����4���ФäƤ⽪���ʤ��פȤ�����𤬤���ޤ����� How to tune shred to run faster on Solaris 8
������Ф����ֿ��ǡ�shred�Υǥե���ȤΥѥ������ѹ����褦�Ȥ����������Ԥ�줿����å� Default number of overwrites in shred ���Ҳ𤵤�Ƥ��ޤ����� ���ε����Ǥϡ������HDD�ʤ�1pass�Ǥ⽽ʬ���̤�����Ȥ���Secure Erase Newsletter�Ǥ�2pass�ȸ����Ƥ����Ȥ���ȯ���⤢��ޤ�����
shred�ʳ��Υġ���
shred�� /dev/sd? ���Ф������Ѥ����硢�ñ¤¹ï¿½ï¿½ï¿½ï¿½Ð¾Ý¤ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½É¥ì¥¹ï¿½ï¿½ï¿½ï¿½ï¿½Ê¤Î¤Ç¡ï¿½ï¿½ï¿½ï¿½Ø¥ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Ê¤É¤Ë¾ï¿½ï¿½ó¤¬»Ä¤ï¿½ï¿½Ç½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½Þ¤ï¿½ï¿½ï¿½ �������ä���ʬ��õ�뤿��ˤϡ�HDD���Ȥ˾õǽ��ɬ�פˤʤ�ΤǤ�����ATA���ޥ�ɤ˳������륳�ޥ�ɤ�����ޤ�����Security Erase (SE) �� Enhanced Security Erase (ESE) �Ǥ��� ESE�ξ�硢�桼�����˸����ʤ��ΰ��ޤ�ơ�����2pass������ñ¤¹ï¿½ï¿½ß¤ï¿½Ô¤ï¿½ï¿½è¤¦ï¿½Ç¤ï¿½ï¿½ï¿½(����: CMRR Secure Erase)
���ε�ǽ��Linux����Ȥ���硢hdparm --security-erase-enhanced �ʤɤȤ�����ɤ��餷���Ǥ�����Ubuntu Hardy �� man hdparm ���Ƥߤ��Ȥ��� ��DANGEROUS�ס�EXPERIMENTAL�פȤ��ä�ñ�줬�¤�Ǥ��ޤ���������ˡ�CMRR��HDDErase�Ȥ����ե꡼���եȤ�Ф��Ƥ��ޤ��� Ultimate Boot CD �Ȥ���¿��ǽ�֡���CD�����HDDErase�����äƤ���Τǡ� ��ʬ��HDD��ESE���б����Ƥ�����Ϥ�������Ѥ���Ȥ���ڤ˾õ�Ǥ������Ǥ���
�ޤȤ�
��������Ĵ�٤����ˡ����ޤ�ޤȤޤä����������Ĥ����ʤ��ä��ΤǤ������Ȥꤢ�����ޤȤ�Ƥߤޤ���
�ޤ���shred�Υǥե���Ȥ�pass����25�ʤΤϡ��ե��åԡ���Ť�HDD�Τ��Ȥ�ͤ����Ƥ��뤫��ǡ������HDD���Ф���shred�򤫤���ʤ� -n 2 �� -n 3 �ǽ�ʬ�餷���Ǥ���
������ʼ��ˤĤ��Ƥ����줿�����ϸ��Ĥ���ޤ���Ǥ��������������������pass��¹Ԥ�����ΰ�Ĥ�pass�Ȥ��ƻȤ���������ʤ�Ȥ⤫���� pass���򸺤餷�Ƽ¹Ԥ�����ϡ������ͽ¬����뤳�ȤǾ����Ǥ�ǡ����������Ǥ����ǽ���������ꤽ���Ǥ��� ������coreutils-5�Ϥ�Ȥ����Ȥǡ�stdlib��random()����äݤɰ����������/dev/urandom��� ���äȹ�®�����ѤǤ��뤳�Ȥ�Ƚ�ä��Τǡ�����shred�����Ѥ���Ȥ��ˤ�5�Ϥ�Ȥ����Ȼפ��ޤ���
����¾�μ��ʤȤ��ơ�shred��--random-source �� /dev/urandom ��������̤Υե���������Ǥ���Τǡ�
$ mkfifo rnd $ openssl rand 999999999999999 > rnd & $ shred --random-source=rnd /dev/sdb
���Ѥˡ��������������ή�����ळ�Ȥ�Ǥ��ޤ���openssl����������ϡ�/dev/urandom����٤Ƥ�������5�ܤۤɹ�®�Ǥ�����
�ȥ�å��Хå�URL
���ε����ؤΥ�����
Wikipedia�˰Ź���Ū�������������(CSPRNG)�ƤΤ�����ޤ��ơ�
������ISSAC�⤢��ޤ�������ʬ��ANSI X9.17(X9.31)������ȤäƼ������ޤ�����
������2^128�ˤʤ�ޤ������ƥ�Х������٤�HDD�ʤ齽ʬ���ʤȡ�
OpenSSL��FIPS�Ǥˤ��������Ƥ�褦�Ǥ������ޥ������å��Ǥ��ʤ��ʤ�
���Ĥ���ʤ��Τǡ�OpenSSL��AES�ؿ���Ȥ碌�Ƥ��äƥޥ������åɼ������ޤ�����
��ʬ�ΤϤ⤦�������פ���(��Â��)���AES�ò·«¤ï¿½ï¿½Ö¤ï¿½ï¿½Î¤Ç¤Ï¤Ê¤ï¿½ï¿½ï¿½
AES�ǰŹ沽�������˵��������XOR����褦�ˤ��ޤ�����
AES�ν�������٤�е��������������٤ϼ���Â��ʤ���Τ�����
ñ���AES�򷫤��֤���������Ū�˰¿��Ǥ���Τǡ�(^^
AES�ΰŹ渰�䵼�������Seed��/dev/urandom����Ǥ���
�Ƕ��CPU�Ǥ�AES�ν����Ϲ�®�ǡ�1����å�������100MB/s�ʾ�Ϸڤ��Ф�Τǡ�
HDDñ�Τ��Ф��ƤϽ�ʬ��®�٤���������Ǥ��ޤ���CPU��٤Ϥ���ޤ�����(^^
���餷�ޤ�����
�����Ȥ��꤬�Ȥ��������ޤ���
shred����äѤ��٤��Ǥ���͡�CPU®�٤�HDD���̤ˤ�äƤϡ������HDD��shred����Τ˲����⤫���äƤ��ޤ��ޤ����顣
�������̤������ɬ�פˤʤä��Ȥ������餷�ͤξҲ𤷤Ʋ����ä���ˡ�򻲹ͤˤ����Ƥ��������ޤ���