<commit_before>package com.ambientideas;

import java.io.IOException;

import sun.misc.BASE64Encoder;
import sun.misc.BASE64Decoder;

/**
 * Use the SecureRandom java security class to generate
 * a more expensive, but cryptographically secure random number.
 */
public class Base64Encode 
{
  public static void main( String[] args ) throws IOException {
    final String message1 = "This is <bold>code</bold> with \t tabs, semicolons;"
    + " and alert-bells \b that could cause escaping issues if not encoded in Base64";
    
    System.out.println("Raw text:\r\n" + message1 + "\r\n");
    BASE64Encoder b64e = new sun.misc.BASE64Encoder();
    String base64Encoded = b64e.encode(message1.getBytes());

    System.out.println("Base64 encoded text:\r\n" + base64Encoded + "\r\n");
    
    //System.out.println("Base64 Decoded text: " + decryptedText);
    BASE64Decoder b64d = new sun.misc.BASE64Decoder();
    String base64Decoded = new String(b64d.decodeBuffer(base64Encoded));
    
    System.out.println("Decoded text:\r\n" + base64Decoded);
  }
}<commit_msg>Changed line spacing for better readability of the B64 example<commit_after>package com.ambientideas;

import java.io.IOException;

import sun.misc.BASE64Encoder;
import sun.misc.BASE64Decoder;

/**
 * Use the SecureRandom java security class to generate
 * a more expensive, but cryptographically secure random number.
 */
public class Base64Encode 
{
  public static void main( String[] args ) throws IOException {
    final String message1 = "This is <bold>code</bold> with \t tabs, semicolons;"
    + " and alert-bells \b that could cause escaping issues if not encoded in Base64";
    
    System.out.println("Raw text:\r\n" + message1 + "\r\n");
    
    BASE64Encoder b64e = new sun.misc.BASE64Encoder();
    String base64Encoded = b64e.encode(message1.getBytes());
    System.out.println("Base64 encoded text:\r\n" + base64Encoded + "\r\n");
    
    BASE64Decoder b64d = new sun.misc.BASE64Decoder();
    String base64Decoded = new String(b64d.decodeBuffer(base64Encoded));
    
    System.out.println("Decoded text:\r\n" + base64Decoded);
  }
}
{'fraction_non_alphanumeric': 0.11639962299717248, 'fraction_numerical': 0.03864278982092366, 'mean_word_length': 3.84703196347032, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4042978', 'n_tokens_mistral': 717, 'n_tokens_neox': 655, 'n_words': 183}