Bacon cipher: Difference between revisions

No edit summary
Line 134:
h2 = c2.encode( s );
 
std::cout << h1 << std::endl << std::endl << h2c1.decode( h1 ) << std::endl << std::endl;
std::cout << c1.decode( h1 )h2 << std::endl << std::endl << c2.decode( h2 ) << std::endl << std::endl;
 
return 0;
Line 145:
foRMeD In hIs Bed iNto a HorRiblE VErmin. He lay on hiS arMOuR-lIKe back, And If
he lIFTed hIS HeaD a lIttle
 
LETSHAUESOMEFUNWITHBACONCIPHER
 
¨·¨·¨¨¨·¨¨·¨¨·¨·¨¨¨·¨¨···¨¨¨¨¨·¨¨··¨¨·¨¨·¨¨¨·¨··¨·¨·¨··¨¨·¨¨¨¨·¨··¨¨··¨··¨¨·¨·¨¨
Line 150 ⟶ 152:
 
LETSHAUESOMEFUNWITHBACONCIPHER
 
LETSHAUESOMEFUNWITHBACONCIPHER
 
</pre>
 
 
=={{header|J}}==