Base64 Decode With Key

'Base64 decoding' is the process of transforming a base64 representation — a string of odd-looking text — back into the original binary or text data. There are four steps involved when decrypting: 1) Decoding the input (from Base64), 2) extracting the Salt, 3) creating the key (key-stretching) using the password and the Salt, and 4) performing the AES decryption. It turned out to be relatively simple in. Base64 is a way of representing binary data in an ASCII string. UNIQUE EXPERTISE. Base32 consists of a symbol set made up of 32 different characters, as well as an algorithm for encoding arbitrary sequences of 8-bit bytes into the Base32 alphabet. Decoding "TWFyeSBoYWQ=" from Base 64 to ASCII. Base64 is needed in many places other than its original use as an encoding format for transferring attachments in email. Prerequisites Requirements Cisco recommends that you have knowledge of these topics: public-key cryptography (basic concepts). php decoder. jQuery plugin base64 encode and decode. Base32 is a notation for encoding arbitrary byte data using a restricted set of symbols that can be conveniently used by humans and processed by computers. This is the CFDictionary string representation which gets sent to Apple's server. Formatting data to be parsed by splunk. The command line base64 tool can help with this, either decoding a file or standard input. These are the methods that I use to both encode and decode in my daily work. No ads, nonsense or garbage. In your case it is not gzip, I tried it, not the correct format. UNIQUE EXPERTISE. Created by developers from team Browserling. I would like to write a bash script to decode a base64 string. Base64 is the simple command line Windows used to encode and decode files in the “Base64” format. Base64 encoding schemes are used when binary data needs to be stored or transferred as textual data. Create New Account. Is it safe? No effective cryptanalysis of AES cipher is known to date, it's officially recommended by many security agencies (including NSA). There is a Base64 Javascript (JS) library that you would need to import for the function. Net, once you figured out which class libraries you needed to combine. a substitution. net script that I need to use in classic asp but there are no classes to do this with in vbscript. In the previous tutorial we saw about encryption decryption using DES symmetric key algorithm. Odds are high the so encrypted string isn't valid b64 anymore, but it should be possible to bruteforce the key. Again, Barry Steyn has a detailed example of how to do this on his blog. Encodes a string to Base64. Base64: the Base64 algorithm, as specified by IETF RFC 2045. This bug has been fixed in SVN. If you want to decode a base64 file it is necessary to use the -d option. Used in 802. I'm moving over from PHP and getting stuck into Objective-C. Regedit Control-Registry browsing history, quickly jump into any saved key. CalendarAlerts. For information on encoding and decoding using base64, see Base64 Encoding. Base64 to hex: Encode and decode bytes online. Therefore 64 characters are chosen that are both members of a subset common to most encodings (ASCII), and also printable. However, to make search meaningful, you can use this function to turn the encoded data back into "regular" strings when populating your search index. Create your decoding map first, and then use make_encoding_map() to convert it to an encoding map. Open a new normal text file. It also uses a = character at the end of a string to signify whether the last character is a single or double byte. They are making use of TripleDES for the encryption and MD5 to hash the private key to create the encryption. Base64 encode your data in a hassle-free way, or decode it into human-readable format. I am getting familiar with base64 encoding and have the following questions. It is used with emails for example. See details. This tool uses the mcrypt_encrypt() function in PHP, so for more infos about the parameters used check the manual. sqlite tablename base64fieldname base64count # Special Thanks to Heather Mahalik (@HeatherMahalik) for the request/idea. Converting Variables from VARBINARY to Base64. Base58Check encoding is also used for encoding ECDSA private keys in the wallet import format. #!/usr/bin/env python from Crypto. Can Splunk decode data at index time? 2 Answers. In the area of integration, occasionally there are requirements to handle content that are encoded in Base64. This buffer is then passed to the ToBase64String(Byte[]) method to create a UUencoded (base-64) string. pfx) Certificate to PEM (Base64) Hallo zusammen, Hier wieder einmal ein Blog Artikel zum Thema Zertifikate. Name Size 1er_clase. decoder Software - Free Download decoder - Top 4 Download - Top4Download. 2 to upgrade it. crypto/evp/encode. Using a Linux Command and OpenSSL for Base64-Encoding and Encryption You can use the following Linux command-line command and OpenSSL to hash and sign the policy statement, base64-encode the signature, and replace characters that are not valid in URL query string parameters with characters that are valid. However, if you are like most of my colleagues (and me until recently) you do not have a thorough understanding of precisely what Base64 encoding is and when Base64 encoding should be used. atob() decodes to bytes, which is compatible to browser built-in atob() (Which is absent in node. pfx to base64 format in PowerShell, you can use. Base64 encoder enables you to encode and decode text and images. This is as simple as getting an instance of encoder and input the string as bytes to encode it. I know it works in the latest Chrome and Firefox browsers on Windows, it might work in Safari and it just can't work in Internet Explorer. With the following functions Base64Encode(sText) and Base64Decode(ByVal vCode), You can easly encode/decode a text in/from base64 in VBScript/Classic ASP:. In shows you the full certificate chain, including all kinds of information about every certificate, as well as connection information like ciphersuites and protocol support. The image Steganographic Decoder tool allows you to extract data from Steganographic image. By default, the encrypted text will be base64 encoded but you have options to select the output format as HEX too. net by the end of next Sunday (CET). Django Utils¶. Then you map that binary data to a subset of a character set. The MIME Base64 encoding replaces most of the punctuation characters with the lowercase letters, a reasonable requirement by the time it was designed. Key to their approach is using chunked transfer encoding which effectively streams the response so the client can process the Base64 encoded images as they arrive across the wire. Base64 vs Hex encoding Ludwig Seitz; Base64 vs Hex encoding Ludwig Seitz; RE: Base64 vs Hex encoding David C. Decoding is the opposite process -- the conversion of an encoded format back into the original sequence of characters. So that rules out PEM and means that if you have a PEM formatted key, you’ll also need a base64 decoder – which iOS does not provide. Base64 The term Base64 is coming from a certain MIME content transfer encoding. See details. DDecode - PHP Decoder - Decoding Hidden Evals, base64 decode, gzinflates from PHP files. Tip: Use the atob() method to decode a base-64 encoded string. Even representing ordinary text in base64 or hexadecimal format can make it harder to read and appear to be stored in a `secret' format. Background. Lets first talk about encoding and decoding javascript, In javascript to encode a string we use btoa function. Used in 802. To the uninitiated, the result of an encoding operation may make the data look unreadable. It defaults to the default string encoding. Text to base64: Encode and convert base64 online. It would be a simple matter of using your development languages Base64 decoding function to get the order id. Use this tool to base64 encode and decode a SAML Messages. decodebytes(). If you want to decrypt a text be sure it is in base64 encoded and is encrypted with AES algorithm! Put the encrypted text in the white textarea, set the key and push the Decrypt button. In order to avoid possible corruption when storing the key in a file or database, we will base64_encode it. Mahesh, You can use Base64 Decode and Encode - Online to convert text to Base64. Base 32 is a variant of Base64 which uses letters and numbers from 2 to 7 (and =) as basic symbols. The term comes from the Base64 MIME encoding specific. Convert data between binary, hex and Base64 in PowerShell Point Of Interest Yesterday I asked in Twitter, who can convert byte array to a formatted hex string in PowerShell in 5 minutes. About Base64. Each base64 digit represents exactly 6 bits of data. The Base64Encoder encodes bytes into base 64 characters. Convert hex to text and hex decode strings. That motivates a divide and conquer approach: Split the encoded string into substrings counting modulo 4 chars, then decode each substring and. What Are MIME Types?. Library for Encoding/Decoding with RSA,AES and Base64. If you need to hide your data, use encryption. Ferramenta on-line para Base64 uma string. Decodes a base64-encoded string to plain ASCII. Posted by Arjun July 7, 2017 February 17, 2018 2 Comments on How to create an image from base64 format in Laravel 5. Hex: the characters A-F and 0-9 represent the hexadecimal byte values. You can convert PGP key(which is text) to Base64 encoded text, if required. You usually don't need to decode it - you just import it to gpg or PGP software. Be the first to review this product. Base64 encoding schemes are commonly used when there is a need to encode binary data that needs be stored and transferred over media that are designed to deal with textual data. If you work in a. • Encode an Image into Base64 String or Decode a Base64 string into an Image. This user could decrypt ciphertext that was encrypted by CMKs in other accounts if the key policy for the cross-account CMK permits it. I pulled a "lost" cert from AWS IAM (it is possible) and the format that it came out required the removal of all of the " " characters, restructuring the Begin and End lines, and also the "fold -w 64 whatever. Data: A Base64 URL encoded JSON object. To convert certificate that is in. Everything we have, we make open source and is accessible from our site. KC# Hello there folks! My name is Kaushik Chakraborti, my "peeps" call me KC! I pretend to be a. Base64 encoding and decoding. With reference to the Archive attachments from Mail. How do I convert that back to binary so that I can connect it to the next steps in my workflow?. QUADAGENT : QUADAGENT uses AES and a preshared key to decrypt the custom Base64 routine used to encode strings and scripts. Online tool for hex decoding a string. '!Â]zñɱ'$. 1 billion e-mail users worldwide, and 1. The Base64 term originates from a specific MIME content transfer encoding. Extremely Simple TripleDES Encryption/Decryption with Base64 Encoding/Decoding. 5 (token ring) with twisted pair. Converting Base64 values to varbinary and vice versa is now easier using the XQuery functionality available from SQL Server 2005 onwards. #!/usr/bin/env python from Crypto. However, if you are like most of my. WEP Key Generator. The code samples below show how to perform the conversion: -- Convert Base64 value in a variable to varbinary:. Base64 encode/decode was ported from a Java Base64 encoder/decoder. The encoder does not add any line feed (line separator) character. That motivates a divide and conquer approach: Split the encoded string into substrings counting modulo 4 chars, then decode each substring and. This document covers all stable modules in django. In fact, size of a Base64. TIP: I like to use CL_HTTP_UTILITY for decoding/encoding BASE64 :-) There are 4 methods (2 for string and 2 for xstring). This user could decrypt ciphertext that was encrypted by CMKs in other accounts if the key policy for the cross-account CMK permits it. For example, a database persistence framework for Java objects might use Base64 encoding to encode a relatively large unique id (generally 128-bit UUIDs) into a string for use as an HTTP parameter in HTTP forms or HTTP GET URLs. Most functions involving RSA keys in the CryptoSys PKI Toolkit require the public or private key to be provided as a string in an "internal" format. BASE64 Encode and Decode in T-SQL - optimized - Learn more on the SQLServerCentral forums. Decode an Image. Reading the input file in chunks that are a multiple of three bytes in length results in a chunk that can be encoded independently of the rest of the input file. Examples of creating base64 hashes using HMAC SHA256 in different languages 21 Oct 2012. Encoded Text. So either you've provided a very bad example, or the data isn't base64 encoded to begin with. One of them, with 'cipher' in its name, usually best refers to something that is cryptographically enciphered which means it was mathematically mangled in a fashion that the result, regardless of the input, is fairly random, patternless nonsense to the un-key-assisted eye. This is taken from the Wiki entry for Base64:. org Base64 encode your data in a hassle-free way, or decode it into human-readable format. Original code:. This becomes useful when you want to transfer any binary file via some text formatted message! Key Features: • Encode and Decode Text from/to Base64 String. Usage The above functionality is used like so:. We have to decompress it and then finally, we get our payload. Hi, I'm trying to get a print out the public key as a String, which I am getting it in as a base64 encoded, but I get error: Exception in thread "main" java. By using this website, you consent to the use of cookies for personalized content and advertising. The following are code examples for showing how to use base64. Function Base64Encode(sText) Dim oXML, oNode Set oXML = CreateObject("Msxml2. I would like to write a bash script to decode a base64 string. Base64 encode/decode was ported from a Java Base64 encoder/decoder. Base64 Basic Decoding. Encoding and decoding binary data as a base64 string using JavaScript in the browser The base implementation of JavaScript does not include base64 encoding or decoding. '!Â]zñɱ'$. Base64 Decoding. Text to base64: Encode and convert base64 online. Fleet Management Do= ne The Right Way - The Toyota Way! “It’s not chance th= at has led to Toyota’s success. A Chrome extension is also available to decode images directly on web pages. CSR Decoder What it does? It generates certificate signing request (CSR) and private key Save both files in a safe place. Base64 encoder/decoder online. Convert PKCS12 (. Public ciphers (Asymmetric) Encode and Decode Enter your string below for base64 encoding Copied. Here are step by step instructions, Launch All-In-One Password Decoder on your system after installation; Enter the encoded password text; Select type of encoding algorithms from the 'Selection Box' based on Application or choose generic ones like Base64, Hex etc. The ENCODE function converts the binary RAW input to its BASE64 encoded form and the DECODE function accepts the BASE64 encoded form of the RAW data and converts back to its original format. Use the code below to generate your key(s). Add in the -binary option to write binary data instead (DER encoded ASN. Load base64 - get text. The base64-decoding function is a homomorphism between modulo 4 and modulo 3-length segmented strings. The recipient's email software will Base64-decode the encoded textual image to restore the original binary image. One of the fields is a base64-encoded file. The key will need to be saved since the data has to be encoded and decoded using the same key. Java Escape/Unescape; CSV. Use this Certificate Decoder to decode your PEM encoded SSL certificate and verify that it contains the correct information. If you want to remove these line breaks: base64 filename | tr -d ' \r' >outfilename With base64 from GNU coreutils, you may use. Return value: Decoded data. However, if I use a Base64 decoder, I end up getting a lot of binary data which appears as "gibberish" in the Base64 decoder web app. Use Base64. ROOT ‹ Certifications ‹ Red Hat Certified Engineer/Technician RHCE/RHCT ‹ Bind: configuring key 'ddns_key': bad base64 encoding \ bad base64 encoding Red Hat Certified Engineer/Technician RHCE/RHCT topics and questions. To use an alternate character set, you would need to create a hash table containing the following data (and modify each key's associated value):. Email programs, for example, applies Base64 encoding where binary data such as images and audio files are converted into a Base64 format. base64" oNode. We do not expect base64 decoding to be commonly a bottleneck in Web browsers. Use the code below to generate your key(s). CreateElement("base64") oNode. crypto/evp/encode. Analysis of the encryption function shows that it can output non-printable characters (confirm this for yourself), therefore all output is encoded using Base64 Encoding using the encode and decode functions. The decoding function is a JavaScript base64 decoder that does all decoding locally in the browser. Translation is done via radix 64. This website uses cookies to improve your browsing experience and to show you personalised content. Base64 encode your data in a hassle-free way, or decode it into human-readable format. It was developed by Arthur Scherbius in 1918, but gained widespread notoriety when it was used by German Intelligence during World War II, and subsequently cracked by the team at Bletchley Park. SQL Escape/Unescape; C#. Decode A Message Type or paste your coded message into the left box. Code below:. Encryption. There are several ways a user id may be given (see how-to-specify-a-user-id). Python string method decode() decodes the string using the codec registered for encoding. from is the origin and to the target name of the field. Be the first to review this product. java Source Code; Base64 Javadoc; Base64 encoding and decoding of data from Java. The result of the encryption will appear in base64 encoded to prevent character encoding problems. Unlike the command line, each step must be explicitly performed with the API. Base64 Decoding in Java. A Flask app uses a secret key to sign the session cookie so that the client can't modify it. THE unique Spring Security education if you're working with Java today. Each base64 digit represents exactly 6 bits of data. I recently had the need to convert simple strings back and forth from Base64 encoding. Note that normally there would not be a need to Base64 encode this string as it can already be safely transferred across any system that can handle Base64 and is purely being used for demonstrative purposes. Base64 (MIME) Encode and Decode Tool. Partridge; RE: Base64 vs Hex encoding David Young; RE: Base64 vs Hex encoding Ludwig Seitz; Walton, Jeffrey. can you write answer with actually method encode/decode please? – user2881809 May 27 '14 at 12:55 check my updated answer – Rakesh Sharma May 27 '14 at 12:57 yes i see - it good answer - but i see This function has been DEPRECATED and can you write answer with featured function for encode/decode ? – user2881809 May 27 '14 at 12:59. I recently went through the processing of creating SDKs for an in house API. Base64 Decoding in Java. Hex and PEM (Base64) Converter. If you get a compile time warning such as " warning: com. Cryptography but what's the best way to read a file & base64 decode the datathen pass the decoded data to a richeditbox for editingit should only basically include tabs, spaces & actual letters when decoded. Cloud Key Management Service takes as input, and returns as output, content that has been encoded using base64 encoding. Using the openssl. pem" in order to get it back to a state where I could run the standard "openssl x509 -in whatever. In the input string, any characters not in the set of 65 characters defined for base 64 encoding are ignored. The calculators encode string to base64 string and decode back to original string. Find this useful? Enter your email to receive occasional updates for securing PHP code. Base64 encode/decode was ported from a Java Base64 encoder/decoder. Sample use case: Blob custom metadata values must be ASCII-encoded. The Atbash cipher is a very common, simple cipher. Mahesh, You can use Base64 Decode and Encode - Online to convert text to Base64. SSL Decoder This site checks the SSL/TLS configuration of a server. Most of the modules in django. This simple Base 64 encoding would be enough to prevent 99% of curious customers from playing with the URL, and there's no need to maintain an encryption key. Base32 consists of a symbol set made up of 32 different characters, as well as an algorithm for encoding arbitrary sequences of 8-bit bytes into the Base32 alphabet. Hi, I'm trying to get a print out the public key as a String, which I am getting it in as a base64 encoded, but I get error: Exception in thread "main" java. Get storage account key from Azure portal. The decoder rejects data that contains characters outside the base64 alphabet. I pulled a "lost" cert from AWS IAM (it is possible) and the format that it came out required the removal of all of the " " characters, restructuring the Begin and End lines, and also the "fold -w 64 whatever. It works by dividing every three bits of binary data into six bit units. Usage: Enter HEX in the first box and click the convert button. So we will be able to safely translate the BASE64-encoded byte sequence into a character string specifying US-ASCII as the encoding. Decoding a Base64-Encoded Binary Problem You have a string that contains information such as a bitmap encoded as base64. If you know that the encoded data was a character string, you can convert it back to a string using the MATLAB ® native2unicode(res. Base64 is the simple command line Windows used to encode and decode files in the “Base64” format. An user simply can select the length of the base64 string and can then select to output the random base 64 string in an URL safe or unsafe way. From the perspective of site security, there are three PHP functions — str_rot13(), base64_encode(), and gzinflate — that are frequently used to obfuscate malicious strings of PHP code. Okay, So if It's Rubbish, Why Am I Telling You about It? Well, it turns out that Base64 encoding actually does still have one very good use. The first few words will be analyzed so they should be (scrambled) in supposed Cyrillic. If you work in a. And, you get the output of the Base64 Encode as below. The decoder rejects data that contains characters outside the base64 alphabet. png file) using They Live Steganography. powerbuilder. The Base64 encoding is typically used for transfering email messages because email formats does not support binary data. Base64 Basic Decoding. Layout of Activation Token. It defaults to the default string encoding. Also, many. You’ll need to decode the data to see these properties. Base64 is an encoding scheme to represent binary data in a textual format. These are the methods that I use to both encode and decode in my daily work. Run the Notepad++. Base64 support from Java 8. See RFC 4648. This is where BASE64 encoding comes to the rescue. Base64 is a group of schemes that encode binary to text. Bug tracker Roadmap (vote for features) About Docs Service status. Base64 image Encode & Decode Download // Convert byte[] to Base64 String Disable any key of keyboard using jQuery. Base64 is often used as a quick but insecure shortcut to obscure secrets without incurring the overhead of cryptographic key management; Spammers use Base64 to evade basic anti-spamming tools, which often do not decode Base64 and therefore cannot detect keywords in encoded messages. ‘Base64 decoding’ is the process of transforming a base64 representation — a string of odd-looking text — back into the original binary or text data. -a, -A, -base64 These flags tell OpenSSL to apply Base64-encoding before or after the cryptographic operation. Hi, Why Laravel use base64 in APP_KEY, and what's the right APP_KEY ?. I didn't implement filtering and inserting carriage return and newline etc. In the area of integration, occasionally there are requirements to handle content that are encoded in Base64. Partridge; RE: Base64 vs Hex encoding David Young; RE: Base64 vs Hex encoding Ludwig Seitz; Walton, Jeffrey. For work with Base64 Encoder in android need to add import. This javascript code is used to encode / decode data using base64 (this encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean). Similarly, for image and. Other tools are available online if you need hashes specifically with Windows line endings (Carriage Return + Line Feed: \r ). This article covers Base64EncodeConverter, which handles encoding of content into a Base64 string in either plain text file or embedded in an XML payload. , memcpy may use as little as 0. The value DECODE returns if it doesn’t find search_code in search_list. I believe it is, but after a couple months nobody has turned anything up. Binary to English Polybius square MD5 hash. import sys. It is very useful for decoding some of the messages found while Geocaching!. Your base64 decoded value seems to be invalid. please provide me code…through the above file we can get uint8array but how to find original format…plaese mail me code at [email protected] If you are decoding a binary file, use the 'DECODE AND DOWNLOAD' button. Is it safe? No effective cryptanalysis of AES cipher is known to date, it's officially recommended by many security agencies (including NSA). ASCII Codes - Table for easy reference of ascii characters and symbols, with conversion tables and HTML codes. On the decoded value you can then use the AES decryption with the published key. Base64 encoding schemes are used when binary data needs to be stored or transferred as textual data. decodebytes(). Communication with the App Store is structured as JSON dictionaries, as defined in RFC 4627. Decode an Image. query # Decode the private key into its binary format # We need to decode the URL-encoded private key decoded_key = base64. SQL Escape/Unescape; C#. Reading the input file in chunks that are a multiple of three bytes in length results in a chunk that can be encoded independently of the rest of the input file. We're mainly going to illustrate the new Java 8 APIs as well as the utility APIs coming out of. Base64 encode the result in step 3. Base64 encoding schemes are commonly used when there is a need to encode binary data that needs be stored and transferred over media that are designed to deal with textual data. Join Chris Converse for an in-depth discussion in this video Encoding and embedding Base64 images, part of Creating a Responsive HTML Email. Converting Base64 values to varbinary and vice versa is now easier using the XQuery functionality available from SQL Server 2005 onwards. Base64 encode your data in a hassle-free way, or decode it into human-readable format. Lets first talk about encoding and decoding javascript, In javascript to encode a string we use btoa function. This is provided for educational and entertainment use only. Syntax Str. SSL Decoder This site checks the SSL/TLS configuration of a server. This is something that I need occassionally and I can never remember how to do it. In the absence of a predicate, a stub always matches, and there's never a reason to add more than one stub to an imposter. This parser will parse the follwoing crl,crt,csr,pem,privatekey,publickey,rsa,dsa,rasa publickey. The -d or --decode flag tells base64 it's decoding data (on a Mac -d is a debugging flag, so it's -D and --decode instead). Here is an example (make sure you enable sound output on your machine):. Default is binary output. A copy of his. It is used with emails for example. Base32 online encode function Online Tools. Base64 encoding schemes are commonly used when there is a need to encode binary data that needs be stored and transferred over media that are designed to deal with textual data. To better understand the encoding process, let’s walk through a simple example of encoding the ASCII string Key. This is useful when you want to pass encrypted string etc on URL. BlockedNumbers; Browser; CalendarContract; CalendarContract. Finally, it escapes the result one more time to remove any special characters. net script that I need to use in classic asp but there are no classes to do this with in vbscript. This signature will be binary. A cipher method could be applied to the b64 string itself though, eg. For example, a database persistence framework for Java objects might use Base64 encoding to encode a relatively large unique id (generally 128-bit UUIDs) into a string for use as an HTTP parameter in HTTP forms or HTTP GET URLs. This package has five subprograms for encoding and decoding. It turned out to be relatively simple in. The fact-checkers, whose work is more and more important for those who prefer facts over lies, police the line between fact and falsehood on a day-to-day basis, and do a great job. Today, my small contribution is to pass along a very good overview that reflects on one of Trump’s favorite overarching falsehoods. Namely: Trump describes an America in which everything was going down the tubes under  Obama, which is why we needed Trump to make America great again. And he claims that this project has come to fruition, with America setting records for prosperity under his leadership and guidance. “Obama bad; Trump good” is pretty much his analysis in all areas and measurement of U.S. activity, especially economically. Even if this were true, it would reflect poorly on Trump’s character, but it has the added problem of being false, a big lie made up of many small ones. Personally, I don’t assume that all economic measurements directly reflect the leadership of whoever occupies the Oval Office, nor am I smart enough to figure out what causes what in the economy. But the idea that presidents get the credit or the blame for the economy during their tenure is a political fact of life. Trump, in his adorable, immodest mendacity, not only claims credit for everything good that happens in the economy, but tells people, literally and specifically, that they have to vote for him even if they hate him, because without his guidance, their 401(k) accounts “will go down the tubes.” That would be offensive even if it were true, but it is utterly false. The stock market has been on a 10-year run of steady gains that began in 2009, the year Barack Obama was inaugurated. But why would anyone care about that? It’s only an unarguable, stubborn fact. Still, speaking of facts, there are so many measurements and indicators of how the economy is doing, that those not committed to an honest investigation can find evidence for whatever they want to believe. Trump and his most committed followers want to believe that everything was terrible under Barack Obama and great under Trump. That’s baloney. Anyone who believes that believes something false. And a series of charts and graphs published Monday in the Washington Post and explained by Economics Correspondent Heather Long provides the data that tells the tale. The details are complicated. Click through to the link above and you’ll learn much. But the overview is pretty simply this: The U.S. economy had a major meltdown in the last year of the George W. Bush presidency. Again, I’m not smart enough to know how much of this was Bush’s “fault.” But he had been in office for six years when the trouble started. So, if it’s ever reasonable to hold a president accountable for the performance of the economy, the timeline is bad for Bush. GDP growth went negative. Job growth fell sharply and then went negative. Median household income shrank. The Dow Jones Industrial Average dropped by more than 5,000 points! U.S. manufacturing output plunged, as did average home values, as did average hourly wages, as did measures of consumer confidence and most other indicators of economic health. (Backup for that is contained in the Post piece I linked to above.) Barack Obama inherited that mess of falling numbers, which continued during his first year in office, 2009, as he put in place policies designed to turn it around. By 2010, Obama’s second year, pretty much all of the negative numbers had turned positive. By the time Obama was up for reelection in 2012, all of them were headed in the right direction, which is certainly among the reasons voters gave him a second term by a solid (not landslide) margin. Basically, all of those good numbers continued throughout the second Obama term. The U.S. GDP, probably the single best measure of how the economy is doing, grew by 2.9 percent in 2015, which was Obama’s seventh year in office and was the best GDP growth number since before the crash of the late Bush years. GDP growth slowed to 1.6 percent in 2016, which may have been among the indicators that supported Trump’s campaign-year argument that everything was going to hell and only he could fix it. During the first year of Trump, GDP growth grew to 2.4 percent, which is decent but not great and anyway, a reasonable person would acknowledge that — to the degree that economic performance is to the credit or blame of the president — the performance in the first year of a new president is a mixture of the old and new policies. In Trump’s second year, 2018, the GDP grew 2.9 percent, equaling Obama’s best year, and so far in 2019, the growth rate has fallen to 2.1 percent, a mediocre number and a decline for which Trump presumably accepts no responsibility and blames either Nancy Pelosi, Ilhan Omar or, if he can swing it, Barack Obama. I suppose it’s natural for a president to want to take credit for everything good that happens on his (or someday her) watch, but not the blame for anything bad. Trump is more blatant about this than most. If we judge by his bad but remarkably steady approval ratings (today, according to the average maintained by 538.com, it’s 41.9 approval/ 53.7 disapproval) the pretty-good economy is not winning him new supporters, nor is his constant exaggeration of his accomplishments costing him many old ones). I already offered it above, but the full Washington Post workup of these numbers, and commentary/explanation by economics correspondent Heather Long, are here. On a related matter, if you care about what used to be called fiscal conservatism, which is the belief that federal debt and deficit matter, here’s a New York Times analysis, based on Congressional Budget Office data, suggesting that the annual budget deficit (that’s the amount the government borrows every year reflecting that amount by which federal spending exceeds revenues) which fell steadily during the Obama years, from a peak of $1.4 trillion at the beginning of the Obama administration, to $585 billion in 2016 (Obama’s last year in office), will be back up to $960 billion this fiscal year, and back over $1 trillion in 2020. (Here’s the New York Times piece detailing those numbers.) Trump is currently floating various tax cuts for the rich and the poor that will presumably worsen those projections, if passed. As the Times piece reported: