Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/airbus-cert/kerlab
/ functions
Functions
122 in github.com/airbus-cert/kerlab
⨍
Functions
122
◇
Types & classes
61
↓ 158 callers
Method
print
(&mut self, object: &str)
src/display.rs:42
↓ 121 callers
Method
new_line
(&mut self)
src/display.rs:50
↓ 26 callers
Method
dedent
(&mut self)
src/display.rs:59
↓ 26 callers
Method
indent
(&mut self)
src/display.rs:55
↓ 17 callers
Function
from_ber
Deserialize an ASN1 message from a stream using BER
src/asn1.rs:382
↓ 13 callers
Method
format
(&self, f: &mut Formatter)
src/display.rs:70
↓ 10 callers
Function
to_der
Serialize an ASN1 message into der stream
src/asn1.rs:367
↓ 8 callers
Function
hmac_md5
(key: &[u8], data: &[u8])
src/hash.rs:7
↓ 7 callers
Method
block_size
(&self)
src/aeshmac.rs:40
↓ 4 callers
Function
decrypt_aes_ecb
( key: &[u8], ciphertext: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:77
↓ 4 callers
Method
mac_size
(&self)
src/aeshmac.rs:51
↓ 4 callers
Function
ntlm
Compute the NTLM hash Compute NTLM hash of the user, use by the AS-REQ # Example ```rust use kekeo::ntlm::ntlm; let hash = ntlm(&String::from("foo")
src/ntlm.rs:51
↓ 4 callers
Method
read
(&mut self, cursor: &mut Cursor<T>)
src/pac.rs:48
↓ 3 callers
Method
decrypt
(&self, key_usage: KeyUsage, data: &EncryptedData)
src/encryption.rs:210
↓ 3 callers
Function
dk
(key: &[u8], constant: &[u8], aes_sizes: &AesSizes)
src/aeshmac.rs:108
↓ 3 callers
Method
encrypt
(&mut self, data: &[u8])
src/aeshmac.rs:490
↓ 3 callers
Function
read_utf16
(buf: &[u8])
src/pac.rs:8
↓ 3 callers
Method
with_preauth
Add pre authentication stuff for the request see padata.rs
src/krbkdcreq.rs:94
↓ 3 callers
Function
xorbytes
(v1: &[u8], v2: &[u8])
src/aeshmac.rs:56
↓ 2 callers
Function
aes_generate_key
( passphrase: &[u8], salt: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:427
↓ 2 callers
Function
aes_generate_salt
(realm: &str, username: &str)
src/aeshmac.rs:436
↓ 2 callers
Function
encrypt_aes_cbc
( key: &[u8], plaintext: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:95
↓ 2 callers
Function
generate_ki_ke
( key: &[u8], key_usage: i32, aes_sizes: &AesSizes, )
src/aeshmac.rs:342
↓ 2 callers
Function
hmac_sha1
(key: &[u8], data: &[u8])
src/hash.rs:15
↓ 2 callers
Method
join
(options: &[TicketFlagsType])
src/base.rs:50
↓ 2 callers
Method
next
(&mut self)
src/rc4hmac.rs:26
↓ 2 callers
Method
print_indent
(&self)
src/display.rs:28
↓ 2 callers
Method
process
(&mut self, input: &[u8], output: &mut [u8])
src/rc4hmac.rs:34
↓ 2 callers
Method
read_asn1
Read asn1 sequence
src/asn1.rs:41
↓ 2 callers
Method
seed_size
(&self)
src/aeshmac.rs:33
↓ 2 callers
Method
write
(&self, writer: &mut dyn Write)
src/message.rs:13
↓ 1 callers
Function
add_chunk_with_1s_complement
(chunk_1: &[u8], chunk_2: &[u8])
src/aeshmac.rs:181
↓ 1 callers
Function
add_chunks_as_u16_vector
(chunk_1: &[u8], chunk_2: &[u8])
src/aeshmac.rs:191
↓ 1 callers
Function
add_chunks_with_1s_complement_addition
(chunks: &[Vec<u8>])
src/aeshmac.rs:173
↓ 1 callers
Function
basic_decrypt
( key: &[u8], ciphertext: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:310
↓ 1 callers
Function
basic_encrypt
( key: &[u8], plaintext: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:239
↓ 1 callers
Function
convert_u16_vector_to_u8_vector
(v: &[u16])
src/aeshmac.rs:214
↓ 1 callers
Function
decrypt
Decrypt ciphertext by using the AES algorithm with HMAC-SHA1
src/aeshmac.rs:283
↓ 1 callers
Function
decrypt_last_two_blocks
( key: &[u8], blocks: &[Vec<u8>], previous_block: &[u8], aes_sizes: &AesSizes, )
src/aeshmac.rs:397
↓ 1 callers
Function
decrypt_several_blocks_xor_aes_ecb
( key: &[u8], blocks: &[Vec<u8>], aes_sizes: &AesSizes, )
src/aeshmac.rs:378
↓ 1 callers
Function
divide_in_exact_n_bytes_chunks
(v: &[u8], nbytes: usize)
src/aeshmac.rs:161
↓ 1 callers
Function
divide_in_n_bytes_blocks
(v: &[u8], nbytes: usize)
src/aeshmac.rs:361
↓ 1 callers
Function
encrypt
Encrypt plaintext by using the AES algorithm with HMAC-SHA1
src/aeshmac.rs:219
↓ 1 callers
Method
for_user
(mut self, user_name: PrincipalName, user_realm: Realm, key: &EncryptionKey)
src/krbkdcreq.rs:138
↓ 1 callers
Function
from_der
Deserialize an ASN1 message from a stream
src/asn1.rs:374
↓ 1 callers
Function
generate_13_bits_rotations_serie
(v: &[u8], nbytes: usize)
src/aeshmac.rs:126
↓ 1 callers
Function
generate_encryption_key_from_encryped_data
(encrypted_data: &EncryptedData, matches: &ArgMatches)
src/bin/kerasktgt.rs:60
↓ 1 callers
Function
generate_encryption_key_from_encryped_data
(encrypted_data: &EncryptedData, matches: &ArgMatches)
src/bin/kerticket.rs:18
↓ 1 callers
Function
generate_encryption_key_from_paramater
(matches: &ArgMatches)
src/bin/kerasktgt.rs:20
↓ 1 callers
Function
generate_preamble
(aes_sizes: &AesSizes)
src/aeshmac.rs:463
↓ 1 callers
Function
impl_component
(ast: &syn::DeriveInput)
derive/src/lib.rs:68
↓ 1 callers
Function
impl_sequence
(ast: &syn::DeriveInput)
derive/src/lib.rs:15
↓ 1 callers
Method
into_pac_struct
(&self, buffer: &[u8])
src/pac.rs:34
↓ 1 callers
Function
kerberos_hmac_md5
@see https://datatracker.ietf.org/doc/html/rfc4757
src/checksum.rs:23
↓ 1 callers
Function
md4
Compute the MD4 Hash of input vector This is a convenient method to respect the initial specification of protocol # Example ```rust, ignore let hash
src/ntlm.rs:17
↓ 1 callers
Function
md5
Compute the MD5 Hash of input vector This is a convenient method to respect the initial specification of protocol # Example ```rust, ignore let hash
src/checksum.rs:16
↓ 1 callers
Function
n_fold
(v: &[u8], nbytes: usize)
src/aeshmac.rs:120
↓ 1 callers
Function
nonce
()
src/rnd.rs:16
↓ 1 callers
Function
pbkdf2_sha1
(key: &[u8], salt: &[u8], seed_size: usize)
src/aeshmac.rs:67
↓ 1 callers
Function
propagate_carry_bits
(tmp_add: &mut [u16])
src/aeshmac.rs:201
↓ 1 callers
Function
random
Generate a vector sized size fill with random value # Example ``` use rdp::model::rnd::random; let vector = random(128); assert_eq!(vector.len(), 128
src/rnd.rs:11
↓ 1 callers
Function
random_bytes
(size: usize)
src/aeshmac.rs:454
↓ 1 callers
Function
rotate_rigth_n_bits
(v: &[u8], nbits: usize)
src/aeshmac.rs:138
↓ 1 callers
Function
unicode
Encode a string into utf-16le This is a basic algorithm to encode an utf-8 string into utf-16le # Example ```rust, ignore let encoded_string = unico
src/ntlm.rs:32
↓ 1 callers
Method
write_asn1
Write in asn1 format a SequenceOf
src/asn1.rs:31
Method
ask_for
Kerberos is available over TCP in most of time
src/request.rs:17
Function
component_derive
(input: TokenStream)
derive/src/lib.rs:63
Method
datetime
(&self)
src/ndr.rs:29
Method
decrypt
(&mut self, data: &[u8])
src/aeshmac.rs:494
Method
decrypt
(&mut self, data: &[u8])
src/rc4hmac.rs:80
Method
decrypt
decrypt the encrypte part of the response using user password
src/krbkdcrep.rs:37
Method
decrypt_as
Conveninent function to decrypt a blob as an ASN.1 defined structure
src/encryption.rs:75
Method
default
()
src/pac.rs:57
Method
default
()
src/asn1.rs:88
Method
deref
(&self)
src/asn1.rs:115
Method
deref_mut
(&mut self)
src/asn1.rs:123
Method
encrypt
(&mut self, data: &[u8])
src/rc4hmac.rs:61
Method
encrypt
(&self, key_usage: KeyUsage, object: &dyn ASN1)
src/encryption.rs:177
Method
etype
(&self)
src/aeshmac.rs:483
Method
etype
Implement https://tools.ietf.org/html/rfc4757
src/rc4hmac.rs:57
Method
from
(buf: &[u8])
src/pac.rs:123
Method
from
(e: ASN1Error)
src/error.rs:68
Method
from_addata
Read pactype fields
src/pac.rs:77
Method
join
(options: &[KdcOptionsType])
src/krbkdcreq.rs:46
Method
key_size
(&self)
src/aeshmac.rs:44
Method
kind
Return the kind of error # Example ``` use error::{KerlabError, KerlabErrorKind}; let error = KerlabError::new(KerlabErrorKind::Disconnect, "disconne
src/error.rs:45
Function
main
()
src/bin/klist2kirbi.rs:21
Function
main
()
src/bin/kerforce.rs:15
Function
main
()
src/bin/kerasktgt.rs:102
Function
main
()
src/bin/kerspray.rs:15
Function
main
()
src/bin/kerasktgs.rs:22
Function
main
()
src/bin/kerticket.rs:60
Method
new
(key: Vec<u8>, usage: KeyUsage, size: AesSizes)
src/aeshmac.rs:475
Method
new
(key: &[u8])
src/rc4hmac.rs:13
Method
new
(etype: Integer, cipher: OctetString)
src/encryption.rs:66
Method
new
()
src/display.rs:20
Method
new
(patype: PaDataType, pavalue: &dyn ASN1)
src/padata.rs:75
Method
new
constructor
src/krbkdcreq.rs:63
Method
new
constructor
src/krbcred.rs:43
Method
new
constructor
src/checksum.rs:50
next →
1–100 of 122, ranked by callers