Skip to content

Instantly share code, notes, and snippets.

View Kevin-Robertson's full-sized avatar

Kevin Robertson Kevin-Robertson

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kevin-robertson on github.
  • I am kevinrobertson (https://keybase.io/kevinrobertson) on keybase.
  • I have a public key ASA79WtFVPQJBezNx-RRzxww02Vy7Bu_QolbsJv7rMnDVwo

To claim this, I am signing this object:

@Kevin-Robertson
Kevin-Robertson / Get-KerberosAESKey.ps1
Last active April 11, 2024 19:37
Generate Kerberos AES keys from a known password
function Get-KerberosAESKey
{
<#
.SYNOPSIS
Generate Kerberos AES 128/256 keys from a known username/hostname, password, and kerberos realm. The
results have been verified against the test values in RFC3962, MS-KILE, and my own test lab.
https://tools.ietf.org/html/rfc3962
https://msdn.microsoft.com/library/cc233855.aspx