openssl – POFTUT

Tagged: openssl

4

Globally Unique Identifier (GUID) Generator For Linux, Windows, Java, PHP, C#, Javascript, Python

Globally Unique Identifier (GUID) is pseudo random string which consist of 32 letters, numbers (0-9) and 4 hyphens to separate letters. These letters are randomly generated. In probability theory this value is unique and can be used as secret and session cookie etc. Example GUID Following line provides a GUID. as we can see there is 4 dashes which selaret the values into 5 parts. First part consist of 6...

0

What is Checksum and Related Tools with Calculation Examples

checksum is an function used to to calculated some value for given data. As we see check is used to check given data with calculated sum. Data may be little or very big like 1 MB, 10 MB etc. but the checksum value will be the same size bu different for each different type of data. checksum is also called hash values. Checksum Algorithms There are a lot of algorithms used to...

0

What Is OpenSSL Library?

OpenSSL is most popular open source cryptography library which provides a lot of tools, libraries, algorithms about cryptography. It is mostly known with Secure Socket Layers (SSL) and Transport Layer Security (TLS) protocols. Supported Encryption Algorithms Encryption is used to make given data unreadable by the intruders. It is mainly used for confidentiality. OpenSSL supports following algorithms. RSA DSA AES DES 3DES Supported Hash Algorithms Hashing is used to create...

0

Python Hash Strings and Lists to MD5, SHA256, SHA512 with Hashlib Module

Security is important part of the today IT and gains more respect from IT world. Hashing is a security measure to protect and check our data. In this tutorial we will look how to use hash with tables and strings. What is Hash Hash is a function where provided data will be converted into another expressions format and can not be recovered back with normal functions. MD5 MD5 is very...

0

How To Read RSA, X509, PKCS12 Certificates with OpenSSL?

OpenSSL provides read different type of certificate and encoding formats. OpenSSL supports certificate formats like RSA, X509, PCKS12 etc. We will look how to read these certificate formats with OpenSSL. Read RSA Private Key RSA is popular format use to create asymmetric key pairs those named public and private key. We can use rsa verb to read RSA private key with the following command.

We can see that the first...

1

How To Create Self Signed Root Certificate with OpenSSL

OpenSSL provides cryptographic libraries and features. We can use OpenSSL from reading DER files to generate random numbers. But one of the most used feature is creating a Self Signed Certificate. , Self Signed Certificate X509 is the certificate standard used in internet and corporate today. X509 certificates are designed to create a tree like trust hierarchy between X509 certificates. For example Google is a trusted entity and poftut.com is another...

1

How To Convert DER To PEM and PEM to DER Certificate Format with OpenSSL?

DER and PEM are formats used in X509 and other certificates to store Public, Private Keys and other related information. OpenSSL provides a lot of features for manipulating PEM and DER certificates. We can use OpenSSL to convert DER to PEM format and vice versa. Convert DER Format To PEM Format For RSA Key We may have an RSA Key in DER format and we want to convert it into...

0

How To Determine and Print OpenSSL Version?

OpenSSL is very long running project which have passed a lot of versions. Newer versions provides more features, bug fixes and security patches. For example in year 2014 a serious security hole Heart Bleed discovered in OpenSSL versions and affected OpenSSL libraries are defined as versions.Following versions was vulnerable to Hear Bleed. OpenSSL 1.0.1 trough 1.0.1f inclusive OpenSSL 1.0.1g is not vulnerable So version is important part of the OpenSSL...

1

How To Install and Use OpenSSL Library In Python Applications?

OpenSSL is popular security library used by a lot of products, applications, vendors. OpenSSL provides libraries for the most of the programming languages. Python is popular programming language too. We can use OpenSSL library in Python applications. In this tutorial we will develop an example application that uses OpenSSL Python Library and bindings. Install OpenSSL Python Library with Pip We can use pip install for all Linux distributions like Ubuntu, Debian,...

0

How To Generate Certificate Signing Request (CSR) with OpenSSL?

OpenSSL provides different features about security and certificates. Public and Private Key cryptography also supported by OpenSSL. Websites, Firewalls and other applications uses Certificates in order to encrypt their network traffic or authenticate each other. In this tutorial we will look how to create Certificate Signing Request. Generate RSA Key Now we assume we do not have any Public and Private Key pair. If we have Public and Private key...

Enjoy this blog? Please spread the word :)