<commit_before>package radius

import (
	"encoding/binary"
	"bytes"
	"crypto/md5"
)

func DecodeFour(b []byte) uint32 {
	return binary.BigEndian.Uint32(b)
}

func DecryptPassword(raw []byte, p *Packet) string {
	if len(raw) != 16 {
		panic("User-Password invalid length (not 16 octets)")
	}<commit_msg>Feature. Decode 4 octet IP into IPv4-address<commit_after>package radius

import (
	"encoding/binary"
	"bytes"
	"crypto/md5"
	"net"
)

// Decode 4 octets to IPv4 address
func DecodeIP(b []byte) net.IP {
	return net.IPv4(b[0], b[1], b[2], b[3])
}

func DecodeFour(b []byte) uint32 {
	return binary.BigEndian.Uint32(b)
}

func DecryptPassword(raw []byte, p *Packet) string {
	if len(raw) != 16 {
		panic("User-Password invalid length (not 16 octets)")
	}
{'fraction_non_alphanumeric': 0.14986737400530503, 'fraction_numerical': 0.03580901856763926, 'mean_word_length': 4.592592592592593, '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': '2681601', 'n_tokens_mistral': 315, 'n_tokens_neox': 293, 'n_words': 76}