Tuesday, May 18, 2021

What is NSA Suite B Cryptography

The government of the Unites States of America produces technical advice on IT systems and security, including data encryption. The US National Security Agency (NSA) recommends a set of interoperable cryptographic algorithms in its Suite B standard.


The Suite B standard specifies a mode of operation in which only a specific set of secure cryptographic algorithms are used. The Suite B standard specifies:

The encryption algorithm (AES)

The key exchange algorithm (Elliptic Curve Diffie-Hellman, also known as ECDH)

The digital signature algorithm (Elliptic Curve Digital Signature Algorithm, also known as ECDSA)

The hashing algorithms (SHA-256 or SHA-384)

Additionally, the IETF RFC 6460 standard specifies Suite B compliant profiles which define the detailed application configuration and behavior necessary to comply with the Suite B standard. It defines two profiles:

A Suite B compliant profile for use with TLS version 1.2. When configured for Suite B compliant operation, only the restricted set of cryptographic algorithms listed above will be used.

A transitional profile for use with TLS version 1.0 or TLS version 1.1. This profile enables interoperability with non-Suite B compliant servers. When configured for Suite B transitional operation, additional encryption and hashing algorithms may be used.

The Suite B standard is conceptually similar to FIPS 140-2, because it restricts the set of enabled cryptographic algorithms in order to provide an assured level of security.

On Windows, UNIX and Linux® systems, WebSphere® MQ, can be configured to conform to the Suite B compliant TLS 1.2 profile, but does not support the Suite B transitional profile.

references:

https://www.ibm.com/docs/en/ibm-mq/7.5?topic=ssl-national-security-agency-suite-b-cryptography

HIPAA backup and recovery requirements

 


references:

https://blog.centraldatastorage.com/data-backup-recovery-hipaa-data#:~:text=Retrievable%20exact%20copies%20of%20ePHI,the%20event%20of%20a%20disaster.&text=This%20is%20the%20only%20reasonable,from%20its%20remote%20storage%20location.

Saturday, May 8, 2021

Material UI adjust style based on breakpoint

 Below is an example showing two ways of specifying media queries within makeStyles. You can use up, down, only, and between functions in theme.breakpoints (which generate the media query strings for you based on the breakpoints specified in the theme), or you can use media queries directly.


import React from "react";

import Button from "@material-ui/core/Button";

import { makeStyles } from "@material-ui/core/styles";


const useStyles = makeStyles(theme => ({

  button: {

    color: "white",

    [theme.breakpoints.down("xs")]: {

      marginTop: theme.spacing(1),

      backgroundColor: "purple"

    },

    [theme.breakpoints.between("sm", "md")]: {

      marginTop: theme.spacing(3),

      backgroundColor: "blue"

    },

    "@media (min-width: 1280px)": {

      marginTop: theme.spacing(5),

      backgroundColor: "red"

    }

  }

}));

export default function App() {

  const classes = useStyles();

  return (

    <Button className={classes.button} variant="contained">

      Hello World!

    </Button>

  );

}


references:

https://material-ui.com/customization/breakpoints/