Skip to main content
  • Products
  • Software evaluation
  • Downloads
  • Free utilities
  • Purchase
  • Silicon Vendors
  • Support
  • About us
  • Blog
  • Forum
  • Search
  • Jobs
  • Newsletter
  • Blog
  • Contact
  • Shop
  • emLib

    emLib

    Cryptography and data-integrity modules for any platform

    Contact us
    Downloads
    SEGGER emLib
    1. 1.Overview
    2. 2.Key features
      1. 2.1.Simplicity and consistency
      2. 2.2.High speeds, minimal space
      3. 2.3.Cross-platform flexibility
    3. 3.How emLib works
    4. 4.Modules
      1. 4.1.Cryptographic modules
      2. 4.2.Data-integrity modules
    5. 5.Licensing

    Overview

    A digital flowchart symbol with interconnected nodes is overlaid on a background of binary code and circuit patterns. The image represents concepts of data organization, processing, and digital technology.

    emLib is a family of single-purpose software modules for cryptography and data integrity that runs on both embedded targets and PC applications. It includes AES and DES encryption as well as CRC and ECC routines, which make it suitable for a wide range of use cases. 

    Implemented entirely in ANSI-C, emLib is optimized for high performance and minimal memory consumption. Standard test patterns and validation code ensure correct application-programming-interface operation on any system.


    Key features

    A circular icon featuring two white interlocking gears on a teal background, symbolizing settings or configuration.

    Simplicity and consistency

    emLib's API is simple, consistent, and easy to use across all modules. The same API can be used in PC applications and embedded targets, which simplifies development and testing procedures.

     

     

    The image shows a circular gauge with a pointer indicating a moderate level. The background is teal, while the gauge itself is white, with sections that represent varying levels of measurement. The pointer suggests a specific reading within the gauge.

    High speeds, minimal space

    emLib delivers high speeds, but requires only minimal memory space, making it optimal for resource-constrained embedded systems. It also includes optimization code and the AES algorithm for protecting sensitive data.

    A circular teal background features white icons: two faces above representing profile views, and a person icon with an arrow pointing left, suggesting an action related to sharing or directing attention towards something.

    Cross-platform flexibility

    Because it is written in ANSI-C, emLib is easily ported to virtually any CPU or architecture. It works with devices that range from 8 to 64 bits in size.


    How emLib works

    emLib consists of independent modules that can be added to a project as needed. Each module uses a consistent API, and this allows users to initialize with the required parameters, process data, and retrieve results. Since all memory is provided by an application, resource consumption is predictable.

    Modules

    A dark background filled with cascading vertical lines of binary code (0s and 1s) creates a digital, futuristic atmosphere. The pattern gives a sense of depth, resembling a virtual tunnel or data stream, enhancing themes of technology and information.

    Cryptographic modules

    AES module

    An implementation of the AES 128-bit and 256-bit algorithm that includes chained block processing for en- and decryption of more than 16 bytes of data.

    More information


    DES module

    An implementation of the DES (56-bit) algorithm that includes CBC for processing more than 8 bytes of data. DES functions can be called multiple times to achieve increased security (TDES, triple-DES).

    More information

    A dark background filled with cascading vertical lines of binary code (0s and 1s) creates a digital, futuristic atmosphere. The pattern gives a sense of depth, resembling a virtual tunnel or data stream, enhancing themes of technology and information.

    Data-integrity modules

    CRC Library

    Handles arbitrary polynomials up to 32 bits wide in both normal and bit-reversed form. In addition to providing generic CRC functions, emLib CRC features optimized implementations for popular CRC polynomials, including CRC-CCITT, CRC-16, and CRC-32.

    More information


    ECC library

    Provides routines for the detection and correction of multiple bit errors, and includes implementations for 4-, 8-, 24- and 40-bit error correction.

    More information


    Licensing

    A digital graphic promoting a sale with a bold "25% off 2nd seat*" message at the top, and a prominent "FREE Professional Tools" note at the bottom, indicating availability for non-commercial use. The background features a pattern of binary code.

    emLib is available under various Embedded Software License models and delivered in source-code packages. With a wide range of licensing options, emLib can fulfill both commercial and technical requirements. 

    All licenses are obtained through one-time payments. emLib is royalty free and not subscription based, meaning that software a part of equipment expenses, keeping costs static.

    * Applies only to a second license and any additional license(s) purchased for the same product under the Single Product License and Single Developer License.

    Friendly License

    emLib is also available under SEGGER's Friendly License, which allows free-of-charge use for non-commercial, evaluation, and educational purposes. With this license, the product is fully functional and there are no technical limitations. To download the license, please visit https://www.segger.com/downloads/emlib/.

     

    Request a quote     Detailed pricing information

    Get in touch with us

    Have questions or need assistance? Our Embedded Experts are here to help!

    Reach out to us for:

    • Licensing quotes
    • Technical inquiries
    • Project support

     

    Contact us

    • User manual
    • List of downloads
    • Release notes
    • Update notification
    • Pricing
    • Support
    • Silicon vendor resources

    Headquarters

    SEGGER Microcontroller GmbH

    Ecolab-Allee 5
    40789 Monheim am Rhein, Germany
    info@segger.com
    Tel.: +49-2173-99312-0
    Fax: +49-2173-99312-28

    Locations

    USA: SEGGER Microcontroller Systems LLC

    Boston area
    101 Suffolk Lane
    Gardner, MA 01440, USA
    us-east@segger.com
    Tel.: +1-978-874-0299
    Fax: +1-978-874-0599

    Silicon Valley
    Milpitas, CA 95035, USA
    us-west@segger.com
    Tel.: +1-408-767-4068

    China: SEGGER Microcontroller China Co., Ltd.

    Room 218, Block A, Dahongqiaoguoji
    No. 133 Xiulian Road
    Minhang District, Shanghai 201199, China
    china@segger.com
    Tel.: +86-133-619-907-60

    ISO 9001 certified

    ISO 9001

    30+ years of experience

    First-class embedded software tools since 1992
    • Imprint
    • Disclaimer
    • Code of Conduct
    • Privacy Policy
    © 2026 SEGGER - All rights reserved.