<commit_before>{-# LANGUAGE OverloadedStrings #-}

module CipherSuite (CipherSuite(..), KeyExchange(..), BulkEncryption(..)) where

import Data.Word (Word8)

import qualified Codec.Bytable as B
import qualified Data.ByteString as BS

data CipherSuite
	= CipherSuite KeyExchange BulkEncryption
	| CipherSuiteRaw Word8 Word8
	deriving (Show, Read, Eq)

data KeyExchange
	= RSA
	| DHE_RSA
	| ECDHE_RSA
	| ECDHE_ECDSA
	| ECDHE_PSK
	| KE_NULL
	deriving (Show, Read, Eq)<commit_msg> #282 CipherSuiteのリファクタリング<commit_after>{-# LANGUAGE OverloadedStrings #-}

module CipherSuite (CipherSuite(..), KeyExchange(..), BulkEncryption(..)) where

import Data.Word (Word8)

import qualified Data.ByteString as BS
import qualified Codec.Bytable as B

data CipherSuite
	= CipherSuite KeyExchange BulkEncryption
	| CipherSuiteRaw Word8 Word8
	deriving (Show, Read, Eq)

data KeyExchange = RSA | DHE_RSA | ECDHE_RSA | ECDHE_ECDSA | ECDHE_PSK | KE_NULL
	deriving (Show, Read, Eq)
{'fraction_non_alphanumeric': 0.09697601668404589, 'fraction_numerical': 0.009384775808133473, 'mean_word_length': 5.114649681528663, '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': '4377217', 'n_tokens_mistral': 370, 'n_tokens_neox': 352, 'n_words': 93}