Sha256: 1c634dd64dc4d60d488e4f005ee6716d84a71eafdb01c2627639f74e2a58c87a
Contents?: true
Size: 429 Bytes
Versions: 2
Compression:
Stored size: 429 Bytes
Contents
#!/usr/bin/env ruby # -*- coding: binary -*- require 'rex/encoding/xor/generic' # # Routine for xor encoding a buffer by a 2-byte (intel word) key. The perl # version used to pad this buffer out to a 2-byte boundary, but I can't think # of a good reason to do that anymore, so this doesn't. # module Rex module Encoding module Xor class Dword < Generic def Dword.keysize 4 end end end end end # Dword/Xor/Encoding/Rex
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.68 | lib/rex/encoding/xor/dword.rb |
librex-0.0.66 | lib/rex/encoding/xor/dword.rb |