For symmetic encryption, you can use the following:
To encrypt:
openssl aes-256-cbc -salt -a -e -in plaintext.txt -out encrypted.txt
To decrypt:
| fastlane_version "2.154.0" | |
| before_all do |lane, options| | |
| ensure_git_branch(branch: 'YOUR_BRANCH') | |
| ensure_git_status_clean | |
| git_pull | |
| end | |
| platform :android do | |
| desc "Get list of version on build gradle" |
| import React from 'react' | |
| import { View, Text, TouchableOpacity } from 'react-native' | |
| import PropTypes from 'prop-types'; | |
| const Timer = () => { | |
| const [durations, setDurations] = useState({ | |
| minutes: '00', | |
| seconds: '00', | |
| }); |
| upload(files) { | |
| const config = { | |
| onUploadProgress: function(progressEvent) { | |
| var percentCompleted = Math.round((progressEvent.loaded * 100) / progressEvent.total) | |
| console.log(percentCompleted) | |
| } | |
| } | |
| let data = new FormData() | |
| data.append('file', files[0]) |
| import { Dimensions, Platform, StatusBar } from 'react-native'; | |
| const X_WIDTH = 375; | |
| const X_HEIGHT = 812; | |
| const XSMAX_WIDTH = 414; | |
| const XSMAX_HEIGHT = 896; | |
| const { height: W_HEIGHT, width: W_WIDTH } = Dimensions.get('window'); |
| import React from 'react' | |
| import { View, StatusBar, ViewPropTypes, TouchableWithoutFeedback, Keyboard } from 'react-native' | |
| import PropTypes from 'prop-types'; | |
| // * Components & Styling | |
| import { Container, Content } from 'native-base'; | |
| import { GlobalStyles } from '../../public/styles/GlobalStyles'; | |
| import { onBoardData } from '../../public/constants/GlobalConstant'; | |
| import CActionBar from '../CActionBar'; |
| import EStyleSheet from "react-native-extended-stylesheet"; | |
| import { fonts } from '../../assets/themes'; | |
| import { getStatusBarHeight } from '../helpers/GetStatusBarHeight'; | |
| export const GlobalStyles = EStyleSheet.create({ | |
| // * Typhography Font Gilroy | |
| gilroyLight8: { | |
| fontFamily: fonts.gilroyLight, | |
| fontSize: '7.5rem' | |
| }, |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: inherit; | |
| } | |
| html { | |
| font-size: 62.5%; | |
| @include respond(tab-land) { // width < 1200px |
| import React from 'react' | |
| import { View, ViewPropTypes } from 'react-native' | |
| import PropTypes from 'prop-types'; | |
| import { data1 } from '../example/Chart/dataScheme'; | |
| import { SVGHeight, SVGWidth, GRAPH_MARGIN, graphWidth, graphHeight, parseTime, xRange, yRange, countGraphHeight, countGraphWidth } from './helper/chartHelper'; | |
| import { utcParse, extent, min, max } from 'd3'; | |
| import * as shape from 'd3-shape'; | |
| import { scaleTime, scaleLinear } from 'd3-scale' | |
| import Svg, { Defs, LinearGradient, Stop, Path, G, Line, Text } from 'react-native-svg'; |