cryptography plugin

class shellbot.plugins.cryptography.setup.Cryptography(*args)

Implement the Cryptography and cryptology plugin.

coroutine aes256(ctx, *, message)

Implement the aes256 command.

Parameters:
  • ctx (Context) – The command context.
  • message (str) – The message to encrypt.
coroutine aes512(ctx, *, message)

Implement the aes512 command.

Parameters:
  • ctx (Context) – The command context.
  • message (str) – The message to encrypt.
coroutine dhke(ctx)

Implement the dhke command.

Parameters:ctx (Context) – The command context.
coroutine ecdsa(ctx)

Implement the ecdsa command.

Parameters:ctx (Context) – The command context.
coroutine egpkc(ctx)

Implement the egpkc command.

Parameters:ctx (Context) – The command context.
coroutine md5(ctx, *, message)

Implement the md5 command.

Parameters:
  • ctx (Context) – The command context.
  • message (str) – The message to hash.
coroutine rsa(ctx)

Implement the rsa command.

Parameters:ctx (Context) – The command context.
coroutine sha1(ctx, *, message)

Implement the sha1 command.

Parameters:
  • ctx (Context) – The command context.
  • message (str) – The message to hash.
coroutine sha256(ctx, *, message)

Implement the sha256 command.

Parameters:
  • ctx (Context) – The command context.
  • message (str) – The message to hash.
coroutine sha512(ctx, *, message)

Implement the sha512 command.

Parameters:
  • ctx (Context) – The command context.
  • message (str) – The message to hash.

Helper classes

class shellbot.plugins.cryptography.lib.hash.HashFormatter

A helper for formatting hashed messages.