Skip to content
Snippets Groups Projects

aes: add AES encryption and decryption elements

Merged Aaron Boxer requested to merge boxerab/gst-plugins-bad:crypto into master

This element adds support for AES encryption and decryption using the OpenSSL library.

Here are more details on AES encryption with OpenSSL.

Here is a sample pipeline to encrypt and then decrypt some text:

$ echo "0123456789ABCDEF012345678" > plain.txt
$ gst-launch-1.0 filesrc location=plain.txt ! aesenc key=1f9423681beb9a79215820f6bda73d0f \
iv=e9aa8e834d8d70b7e0d254ff670dd718  ! aesdec key=1f9423681beb9a79215820f6bda73d0f \
iv=e9aa8e834d8d70b7e0d254ff670dd718! filesink location=dec.txt
$ cat dec.txt
Edited by Aaron Boxer

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Sebastian Dröge
  • Sebastian Dröge
  • Sebastian Dröge
  • Sebastian Dröge
  • Just shortly took a look over the obvious parts, will do a proper review once those are addressed.

    Also are you aware of https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/tree/master/generic/sodium ?

  • Thanks, wasn't aware of that plugin. libsodium seems like a nice alternative to openssl.

  • better to have a plugin with two separate elements than using the same element name with mode ?

  • closed

  • reopened

  • Aaron Boxer added 1177 commits

    added 1177 commits

    Compare with previous version

  • Aaron Boxer changed the description

    changed the description

  • Aaron Boxer changed title from crypto: add crypto element to aes: add aes encryption and decryption elements

    changed title from crypto: add crypto element to aes: add aes encryption and decryption elements

  • Aaron Boxer added 1 commit

    added 1 commit

    Compare with previous version

  • Aaron Boxer added 1 commit

    added 1 commit

    • 3540cbb7 - aes: add aes encryption and decryption elements

    Compare with previous version

  • Aaron Boxer added 1 commit

    added 1 commit

    • f61c977d - aes: add aes encryption and decryption elements

    Compare with previous version

  • Aaron Boxer resolved all threads

    resolved all threads

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading