Javascript – Page 2 – POFTUT

Category: Javascript

What Is SHA-256 and How To Calculate In Python, PHP, JavaScript, Go, Java, PowerShell Programming Languages? 0

What Is SHA-256 and How To Calculate In Python, PHP, JavaScript, Go, Java, PowerShell Programming Languages?

Hash algorithms are the heart of the cryptography and security. SHA-256 is a Secure Hash Algorithm which will generate an output hash value in 256 bit. SHA-256 is designed by the National Security Agency  (NSA). SHA-256 is one of the cryptographic hash functions. SHA-256 is also named one-way function where the generated hash value cannot be reversed theoretically. This makes SHA-256 very useful for password validation, challenge hash authentication, anti-tamper,...

0

What Is String Data Type In JavaScript, Java, Python, C# , PHP, C, C++, PowerShell Programming Languages?

String is a very popular data type which can be used in different programming languages like JavaScript, Java, Python, C#, PHP, C, C++, PowerShell.  String is mainly used to store characters like a text. Alternative data types are an integer, floating point, etc where they are mainly used for mathematical calculations. For example “I am visiting poftut.com”  is a string which completely consists of the alphabet. “I visit poftut.com 2...

0

How To Display and Input Data From User Window Prompt in HTML and JavaScript?

HTML Dom or JavaScript programming language provides Window.prompt()  which display a dialog with an optional message prompting the user to input some text. prompt() function is very useful for getting data from the user in real time or interactively. There are different ways to accomplish user data input from the browser but this is the simplest and easy way. Syntax and Parameters window.prompt() function has the following syntax where we...

0

Regex Space, Whitespace, Tab Usage Examples

When dealing with the text files such as log files, user list, server list etc we can use regex for formally structured files. Space, white-space, and tab are popular separating elements used in regex or CSV files. In this tutorial, we will examine how to use regex with space, whitespace, tab or no space, no whitespace and no tab. Example Text We will use the following text as an example.

...

0

How To Update Npm On Linux and Windows?

NodeJS is a popular application development and deployment framework written in Javascript programming language. It provides server-side libraries and functionalities to accomplish tasks. Npm is the NodeJs Package Manager which is used to install, update, delete packages to the current application. In this tutorial, we will learn how to update npm in different operating systems like Ubuntu, Debian, Mint, Kali, CentOS, RedHat, Fedora, Windows, Windows Server etc. Install Npm Package For Ubuntu,...

0

Foreach Usage In PHP, JavaScript, Java, C#, Python Programming Languages with Examples

Loops are an important part of the programming languages. For and While loops are used for decades in different programming languages. Foreach provides similar functionality with a more elegant way by iterating over the given list. In this tutorial, we will examine foreach in different programming languages like PHP, JavaScript, Java, C# and Python. PHP Foreach PHP provides foreach in order to iterate over given arrays. There is two main usage...

0

How To Use Google Chrome Commands?

Google Chrome is the most popular browser used around the world. Google Chrome supports platforms like Windows, Linux, MacOS, Android etc. Google Chrome uses Omnibox address bar which can be used access to the Chrome features and settings easily. Settings – chrome://settings We can use the following command in order to list current Chrome settings.

Search Engine – Settings – chrome://settings/searchEngines Chrome comes with a default search engine which is...

While Loop In Java, Javascript, C++, C#, Python Programming Languages 0

While Loop In Java, Javascript, C++, C#, Python Programming Languages

Programming languages like Javascript, C++, C#, Python provides while loops in order to iterate over the given list, array, set etc. while loop is a very important part of the programming language because of its functionality. In this tutorial, we will examine and compare while loop for programming languages like Javascript, C++, C#, and Python. Javascript while loop Javascript provides different syntax of while loops. The general syntax is like...

How To Redirect HTML Web Page Into Another URL? 1

How To Redirect HTML Web Page Into Another URL?

HTML is a language used to build web pages. Web pages have a dynamic nature where it can change during time. One of the most popular change cases is redirecting given web page to another web page. This is simply called we page redirect. In this tutorial, we will examine the redirect process in different ways, languages, and technologies. HTML Redirect The most popular and basic for web page redirect...

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...

Enjoy this blog? Please spread the word :)