Skip to main content

If you have an original Microsoft Windows CD try it

I’ve read in an article that if you put an original windows CD in the microwave for a minute or two and take it out, it’ll be as cold as it was before putting it there. And you’ll be able to read “4F6E65204F5320746F2072756C65207468656D20616C6C2C204F6E65204F5320746F2066696E64207468656D2C0D0A4F6E65204F5320746F206272696E67207468656D20616C6C20616E6420696E20746865206461726B6E6573732062696E64207468656D” on it. It’s a hex text, try the following java code or any equivalent to convert it into real text

public static void main ( String args[] )
{
String value = "4F6E65204F5320746F2072756C65207468656D20616C6C2C204F6E65204F5320746F2066696E64207468656D2C0D0A4F6E65204F5320746F206272696E67207468656D20616C6C20616E6420696E20746865206461726B6E6573732062696E64207468656D" ;
for ( int i = 0 ; i < value.length() ; i += 2 )
{
System.out.print( ( char ) ( fromHex( value.substring( i, i + 2 ) ) ) ) ;
}
}
 
public static int fromHex ( String hex )
{
if ( hex.length() == 1 )
{
if ( Character.isDigit( hex.charAt( 0 ) ) )
{
return Integer.parseInt( hex ) ;
}
else
{
switch ( Character.toLowerCase( hex.charAt( 0 ) ) )
{
case 'a':
return 10 ;
case 'b':
return 11 ;
case 'c':
return 12 ;
case 'd':
return 13 ;
case 'e':
return 14 ;
case 'f':
return 15 ;
default:
throw new NumberFormatException() ;
}
}
}
else
{
return fromHex( hex.substring( 0, 1 ) ) * 16 + fromHex( hex.substring( 1 ) ) ;
}
}

I tried my code with the input string and it printed

One OS to rule them all, One OS to find them,
One OS to bring them all and in the darkness bind them

I don’t have an original windows CD so I took the string from the article. If you have an original windows CD I don’t recommend you to try it unless it was an old version not in use