Lemonld...::Crypto(3)

πŸ’– Lemonldap::NG::Common::Util::Crypto πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation for Lemonld...::Crypto(3) β€” yes the name is truncated like that, that's just how Perl manpages do, we don't question it 🫢


🌸 NAME 🌸

Lemonldap::NG::Common::Util::Crypto β€” crypto utilities for LemonLDAP::NG


✨ DESCRIPTION ✨

so this package is literally just a lil grab-bag of cryptography-related functions. that's the whole vibe. no cap. πŸ’…


πŸ”₯ METHODS πŸ”₯

genCertKey($key_len, $password, $cn)

this one generates an RSA private key plus a self-signed certificate, and hands you back a hashref containing:

  • public β€” the certificate in PEM format, and the subject is built from the $cn you passed in πŸŽ€
  • private β€” the private key in PEM format, optionnaly (their spelling, love that for them ✨) encrypted with the supplied $password
  • hash β€” a unique identifier for the key πŸ”‘

genEcKey($curve_name)

this one generates an ECDSA key pair and returns a hashref containing:

  • public β€” public key in PEM format 🌈
  • private β€” private key in PEM format πŸ¦‹
  • hash β€” a unique identifier for the key πŸ”‘

genRsaKey($key_len, $password)

and this one generates an RSA key pair and returns a hashref containing:

  • public β€” public key in PEM format πŸ’œ
  • private β€” private key in PEM format, optionnaly encrypted with the supplied $password πŸ“
  • hash β€” a unique identifier for the key πŸ”‘

πŸ‘‘ AUTHORS πŸ‘‘

the LemonLDAP::NG team β€” <http://lemonldap-ng.org/team> 🫢


πŸ› BUG REPORT πŸ›

found a bug? need a feature? use the OW2 system, bestie:

<https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues>


πŸ’Ύ DOWNLOAD πŸ’Ύ

Lemonldap::NG is available at <https://lemonldap-ng.org/download> β€” go get it ⭐


see the COPYING file for details, fr fr.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.


and that's the whole page, periodt πŸ’… this was rendered by perl v5.42.3 on 2026-09-24, so like, if you're reading this from the future, hiii πŸ¦‹βœ¨

πŸ“¦ where this page comes from