<commit_before>package rncryptor

import(
  "bytes"
  "errors"
  "crypto/sha1"
  "crypto/sha256"
  "crypto/hmac"
  "crypto/aes"
  "crypto/cipher"
  "golang.org/x/crypto/pbkdf2"
)

func Decrypt(text, password []byte) ([]byte, error) {
  version         := text[:1]
  options         := text[1:2]
  encSalt         := text[2:10]
  hmacSalt        := text[10:18]
  iv              := text[18:34]<commit_msg>swap argument order to match v3 spec<commit_after>package rncryptor

import(
  "bytes"
  "errors"
  "crypto/sha1"
  "crypto/sha256"
  "crypto/hmac"
  "crypto/aes"
  "crypto/cipher"
  "golang.org/x/crypto/pbkdf2"
)

func Decrypt(password, text []byte) ([]byte, error) {
  version         := text[:1]
  options         := text[1:2]
  encSalt         := text[2:10]
  hmacSalt        := text[10:18]
  iv              := text[18:34]
{'fraction_non_alphanumeric': 0.1588447653429603, 'fraction_numerical': 0.04693140794223827, 'mean_word_length': 2.5404255319148934, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3771507', 'n_tokens_mistral': 349, 'n_tokens_neox': 322, 'n_words': 59}