hex2ip

Converts an hex IP address into an decimal representation of it.

Created by: hackvertor
Installed 1 times

Category: IP

Created on: Tuesday, October 22, 2024 at 6:36:42 PM

Updated on: Wednesday, November 6, 2024 at 2:17:30 PM

This is a built in tag
Tag arguments
[]
Code
class hex2ip {
  encode(input) {
    return input
      .split(".")
      .map((hex) => parseInt(hex, 16))
      .join(".");
  }
}