programming

How Does RSA Encryption Work

A popular public-key cryptosystem for secure data transfer is RSA (Rivest-Shamir-Adleman). In addition, it is among the oldest. The surnames of Ron Rivest, Adi Shamir, and Leonard Adleman, who first publicly published the algorithm in 1977, are the origin of the abbreviation “RSA.” The English mathematician Clifford Cocks created a comparable method in secret at […]

Whats New in Spring Boot 3.0.0-RC1

This release includes 135 enhancements, documentation improvements, dependency upgrades, and bug fixes. Now, without requiring any particular settings, you can convert your Spring Boot applications to native executables using the regular Spring Boot Maven or Gradle plugins. This release also provides a new section in the reference documentation that explains the concepts behind ahead-of-time processing […]

List All Users in MySQL Database

Login to the database as root user mysql -u root -p Once you have logged in as root user, run the following command to list the user, host and encrypted password SELECT User, Host, Password FROM mysql.user; output : MariaDB [(none)]> SELECT User, Host, Password FROM mysql.user; +———-+———–+——————————————-+ | User | Host | Password | […]

What’s New in Kali Linux 2022.3?

Things to know about the latest Kali release. 1. New Tools Here are all the new tools that come with the release. BruteShark – Network Analysis Tool DefectDojo – Open-source application vulnerability correlation and security orchestration tool phpsploit – Stealth post-exploitation framework shellfire – Exploiting LFI/RFI and command injection vulnerabilities SprayingToolkit – Password spraying attacks against Lync/S4B, OWA, and O365 […]

Most Used Java Stream Map Functions

Retriving a List of attribute (field) values from a Object List (Array List) List users=new ArrayList<>(); List userIds=users .stream() .map(u->u.getId()) .collect(Collectors.toList()); Filter Objects by Attribute in a Array List List users=new ArrayList<>(); List filteredUsers=users .stream() .filter(u->u.getId().equals(1l)) .collect(Collectors.toList()); Check if All Values of a Array List Matches a Cirtain Condition checking if all the users in […]

Scroll to top