Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/citronneur/kerlab
/ functions
Functions
76 in github.com/citronneur/kerlab
⨍
Functions
76
◇
Types & classes
58
↓ 157 callers
Method
print
(&mut self, object: &str)
src/display.rs:41
↓ 121 callers
Method
new_line
(&mut self)
src/display.rs:49
↓ 26 callers
Method
dedent
(&mut self)
src/display.rs:58
↓ 26 callers
Method
indent
(&mut self)
src/display.rs:54
↓ 12 callers
Method
format
(&self, f: &mut Formatter)
src/display.rs:69
↓ 12 callers
Function
from_ber
Deserialize an ASN1 message from a stream using BER
src/asn1.rs:382
↓ 8 callers
Function
hmac_md5
Compute HMAC with MD5 hash algorithm This is a convenience method to write algorithm like in specification # Example ```rust, ignore let signature =
src/rc4hmac.rs:51
↓ 7 callers
Function
to_der
Serialize an ASN1 message into der stream
src/asn1.rs:367
↓ 4 callers
Method
read
(&mut self, cursor: &mut Cursor<T>)
src/pac.rs:48
↓ 4 callers
Method
with_preauth
Add pre authentication stuff for the request see padata.rs
src/krbkdcreq.rs:93
↓ 3 callers
Method
encrypt
(&mut self, data: &[u8])
src/rc4hmac.rs:76
↓ 3 callers
Function
read_utf16
(buf: &[u8])
src/pac.rs:8
↓ 2 callers
Method
next
(&mut self)
src/rc4hmac.rs:27
↓ 2 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
↓ 2 callers
Method
print_indent
(&self)
src/display.rs:27
↓ 2 callers
Method
process
(&mut self, input: &[u8], output: &mut [u8])
src/rc4hmac.rs:35
↓ 2 callers
Method
read_asn1
Read asn1 sequence
src/asn1.rs:41
↓ 2 callers
Method
write
(&self, writer: &mut dyn Write)
src/message.rs:13
↓ 1 callers
Method
decrypt
(&self, key_usage: KeyUsage, data: &EncryptedData)
src/encryption.rs:136
↓ 1 callers
Method
for_user
(mut self, user_name: PrincipalName, user_realm: Realm, key: &EncryptionKey)
src/krbkdcreq.rs:136
↓ 1 callers
Function
from_der
Deserialize an ASN1 message from a stream
src/asn1.rs:374
↓ 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
nonce
()
src/rnd.rs:16
↓ 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
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/rc4hmac.rs:95
Method
decrypt
decrypt the encrypte part of the response using user password
src/krbkdcrep.rs:36
Method
decrypt_as
Conveninent function to decrypt a blob as an ASN.1 defined structure
src/encryption.rs:56
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
(&self, key_usage: KeyUsage, object: &dyn ASN1)
src/encryption.rs:117
Method
etype
Implement https://tools.ietf.org/html/rfc4757
src/rc4hmac.rs:72
Method
from
(buf: &[u8])
src/pac.rs:120
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
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/kerforce.rs:15
Function
main
()
src/bin/kerasktgt.rs:18
Function
main
()
src/bin/kerspray.rs:15
Function
main
()
src/bin/kerasktgs.rs:22
Function
main
()
src/bin/kerticket.rs:16
Method
new
(key: &[u8])
src/rc4hmac.rs:14
Method
new
(etype: Integer, cipher: OctetString)
src/encryption.rs:47
Method
new
()
src/display.rs:19
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
Method
new
Constructor
src/base.rs:62
Method
new
Constructoer
src/asn1.rs:78
Method
new
create a new Kekeo error # Example ``` use error::{KerlabError, KerlabErrorKind}; let error = KerlabError::new(KerlabErrorKind::Unknown, "Unknown"); `
src/error.rs:30
Method
new
constructor
src/krbap.rs:34
Method
new
Convenient constructor
src/authenticator.rs:44
Method
new_no_encryption
()
src/encryption.rs:94
Method
new_rc4_hmac
(password: &str)
src/encryption.rs:101
Method
new_rc4_hmac_from_hash
(hash: Vec<u8>)
src/encryption.rs:108
Method
now
()
src/padata.rs:121
Method
pa_enc_timestamp
Use to format an enc timestamp use in pre authentication
src/padata.rs:83
Method
pa_for_user
use in S4u protocol extension
src/padata.rs:94
Method
println
(&mut self, object: &str)
src/display.rs:33
Method
read
(&mut self, reader: &mut dyn Read)
src/message.rs:17
Function
sequence_derive
(input: TokenStream)
derive/src/lib.rs:10
Function
test_optional_field
()
src/asn1.rs:413
Function
test_principal_name
()
src/base.rs:137